Package com.google.auth.oauth2
Class AwsRequestSignature
java.lang.Object
com.google.auth.oauth2.AwsRequestSignature
Stores the AWS API request signature based on the AWS Signature Version 4 signing process, and
the parameters used in the signing process.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) String
Returns the authorization header.Returns the HTTP request canonical headers.(package private) String
Returns the credential scope.(package private) String
getDate()
Returns the request date.(package private) String
Returns the HTTP request method.(package private) String
Returns the targeted region.(package private) AwsSecurityCredentials
Returns the AWS security credentials.(package private) String
Returns the request signature based on the AWS Signature Version 4 signing process.(package private) String
getUrl()
Returns the request URL.
-
Field Details
-
awsSecurityCredentials
-
canonicalHeaders
-
signature
-
credentialScope
-
url
-
httpMethod
-
date
-
region
-
authorizationHeader
-
-
Constructor Details
-
AwsRequestSignature
-
-
Method Details
-
getSignature
String getSignature()Returns the request signature based on the AWS Signature Version 4 signing process. -
getCredentialScope
String getCredentialScope()Returns the credential scope. e.g. 20150830/us-east-1/iam/aws4_request -
getSecurityCredentials
AwsSecurityCredentials getSecurityCredentials()Returns the AWS security credentials. -
getUrl
String getUrl()Returns the request URL. -
getHttpMethod
String getHttpMethod()Returns the HTTP request method. -
getCanonicalHeaders
Returns the HTTP request canonical headers. -
getDate
String getDate()Returns the request date. -
getRegion
String getRegion()Returns the targeted region. -
getAuthorizationHeader
String getAuthorizationHeader()Returns the authorization header.
-