| Package | Description |
|---|---|
| com.linecorp.armeria.server.auth |
HTTP authorization service.
|
| Modifier and Type | Field and Description |
|---|---|
static Function<RequestHeaders,OAuth2Token> |
AuthTokenExtractors.OAUTH2
An
OAuth2Token extractor function instance. |
| Modifier and Type | Method and Description |
|---|---|
static OAuth2Token |
OAuth2Token.of(String accessToken)
Creates a new
OAuth2Token from the given accessToken. |
| Modifier and Type | Method and Description |
|---|---|
HttpAuthServiceBuilder |
HttpAuthServiceBuilder.addOAuth2(Authorizer<? super OAuth2Token> authorizer)
Adds an OAuth2
Authorizer. |
HttpAuthServiceBuilder |
HttpAuthServiceBuilder.addOAuth2(Authorizer<? super OAuth2Token> authorizer,
CharSequence header)
Adds an OAuth2
Authorizer for the given header. |
Copyright © 2020 LeanCloud. All rights reserved.