CreateTokenRequest
public struct CreateTokenRequest : AWSShapeUndocumented
- 
                  
                  DeclarationSwift public static var _members: [AWSShapeMember]
- 
                  
                  The unique identifier string for each client. This value should come from the persisted result of the RegisterClient API. DeclarationSwift public let clientId: String
- 
                  
                  A secret string generated for the client. This value should come from the persisted result of the RegisterClient API. DeclarationSwift public let clientSecret: String
- 
                  
                  The authorization code received from the authorization service. This parameter is required to perform an authorization grant request to get access to a token. DeclarationSwift public let code: String?
- 
                  
                  Used only when calling this API for the device code grant type. This short-term code is used to identify this authentication attempt. This should come from an in-memory reference to the result of the StartDeviceAuthorization API. DeclarationSwift public let deviceCode: String
- 
                  
                  Supports grant types for authorization code, refresh token, and device code request. DeclarationSwift public let grantType: String
- 
                  
                  The location of the application that will receive the authorization code. Users authorize the service to send the request to this location. DeclarationSwift public let redirectUri: String?
- 
                  
                  The token used to obtain an access token in the event that the access token is invalid or expired. This token is not issued by the service. DeclarationSwift public let refreshToken: String?
- 
                  
                  The list of scopes that is defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token. DeclarationSwift public let scope: [String]?
- 
                  
                  Undocumented DeclarationSwift public init(clientId: String, clientSecret: String, code: String? = nil, deviceCode: String, grantType: String, redirectUri: String? = nil, refreshToken: String? = nil, scope: [String]? = nil)
 View on GitHub
View on GitHub CreateTokenRequest Structure Reference
        CreateTokenRequest Structure Reference