| Package | Description |
|---|---|
| com.linecorp.armeria.server.auth |
HTTP authorization service.
|
| Modifier and Type | Field and Description |
|---|---|
static Function<RequestHeaders,BasicToken> |
AuthTokenExtractors.BASIC
A
BasicToken extractor function instance. |
| Modifier and Type | Method and Description |
|---|---|
static BasicToken |
BasicToken.of(String username,
String password)
|
| Modifier and Type | Method and Description |
|---|---|
HttpAuthServiceBuilder |
HttpAuthServiceBuilder.addBasicAuth(Authorizer<? super BasicToken> authorizer)
Adds an HTTP basic
Authorizer. |
HttpAuthServiceBuilder |
HttpAuthServiceBuilder.addBasicAuth(Authorizer<? super BasicToken> authorizer,
CharSequence header)
Adds an HTTP basic
Authorizer for the given header. |
Copyright © 2020 LeanCloud. All rights reserved.