AuthTokenGenerator
class AuthTokenGenerator(val service: String, val credentialsProvider: CredentialsProvider, val signer: AwsSigner, val clock: Clock = Clock.System)
Generates an authentication token, which is a SigV4-signed URL with the HTTP scheme removed.
Parameters
service
The name of the service the token is being generated for
credentialsProvider
The CredentialsProvider which will provide credentials to use when generating the auth token
signer
The AwsSigner implementation to use when creating the authentication token
clock
The Clock implementation to use
Constructors
Link copied to clipboard
constructor(service: String, credentialsProvider: CredentialsProvider, signer: AwsSigner, clock: Clock = Clock.System)