Interface Auth
-
- All Superinterfaces:
Function<HttpRequest,HttpRequest>
,RequestInterceptor
,UnaryOperator<HttpRequest>
public interface Auth extends RequestInterceptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Auth.AuthenticationException
-
Field Summary
Fields Modifier and Type Field Description static String
AUTH_BASIC
static String
AUTH_SIGV4
-
Method Summary
Static Methods Modifier and Type Method Description static Auth
basic(String username, String password)
static Auth
from(Settings.AuthSettings settings)
static Auth
sigv4(String regionName, String serviceName)
static Auth
sigv4(String regionName, software.amazon.awssdk.auth.credentials.AwsCredentialsProvider awsCredentialsProvider, String serviceName)
-
-
-
Field Detail
-
AUTH_BASIC
static final String AUTH_BASIC
- See Also:
- Constant Field Values
-
AUTH_SIGV4
static final String AUTH_SIGV4
- See Also:
- Constant Field Values
-
-
Method Detail
-
sigv4
static Auth sigv4(String regionName, software.amazon.awssdk.auth.credentials.AwsCredentialsProvider awsCredentialsProvider, String serviceName)
-
from
static Auth from(Settings.AuthSettings settings)
-
-