Class: Aws::SSOAdmin::Types::Grant
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSOAdmin::Types::Grant
- Defined in:
- gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/types.rb
Overview
Grant is a union - when making an API calls you must set exactly one of the members.
Grant is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Grant corresponding to the set member.
The Grant union represents the set of possible configuration options for the selected grant type. Exactly one member of the union must be specified, and must match the grant type selected.
Direct Known Subclasses
AuthorizationCode, JwtBearer, RefreshToken, TokenExchange, Unknown
Defined Under Namespace
Classes: AuthorizationCode, JwtBearer, RefreshToken, TokenExchange, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#authorization_code ⇒ Types::AuthorizationCodeGrant
Configuration options for the
authorization_code
grant type. -
#jwt_bearer ⇒ Types::JwtBearerGrant
Configuration options for the
urn:ietf:params:oauth:grant-type:jwt-bearer
grant type. -
#refresh_token ⇒ Types::RefreshTokenGrant
Configuration options for the
refresh_token
grant type. -
#token_exchange ⇒ Types::TokenExchangeGrant
Configuration options for the
urn:ietf:params:oauth:grant-type:token-exchange
grant type. -
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#authorization_code ⇒ Types::AuthorizationCodeGrant
Configuration options for the authorization_code
grant type.
2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 |
# File 'gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/types.rb', line 2154 class Grant < Struct.new( :authorization_code, :jwt_bearer, :refresh_token, :token_exchange, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AuthorizationCode < Grant; end class JwtBearer < Grant; end class RefreshToken < Grant; end class TokenExchange < Grant; end class Unknown < Grant; end end |
#jwt_bearer ⇒ Types::JwtBearerGrant
Configuration options for the
urn:ietf:params:oauth:grant-type:jwt-bearer
grant type.
2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 |
# File 'gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/types.rb', line 2154 class Grant < Struct.new( :authorization_code, :jwt_bearer, :refresh_token, :token_exchange, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AuthorizationCode < Grant; end class JwtBearer < Grant; end class RefreshToken < Grant; end class TokenExchange < Grant; end class Unknown < Grant; end end |
#refresh_token ⇒ Types::RefreshTokenGrant
Configuration options for the refresh_token
grant type.
2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 |
# File 'gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/types.rb', line 2154 class Grant < Struct.new( :authorization_code, :jwt_bearer, :refresh_token, :token_exchange, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AuthorizationCode < Grant; end class JwtBearer < Grant; end class RefreshToken < Grant; end class TokenExchange < Grant; end class Unknown < Grant; end end |
#token_exchange ⇒ Types::TokenExchangeGrant
Configuration options for the
urn:ietf:params:oauth:grant-type:token-exchange
grant type.
2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 |
# File 'gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/types.rb', line 2154 class Grant < Struct.new( :authorization_code, :jwt_bearer, :refresh_token, :token_exchange, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AuthorizationCode < Grant; end class JwtBearer < Grant; end class RefreshToken < Grant; end class TokenExchange < Grant; end class Unknown < Grant; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
2154 2155 2156 |
# File 'gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/types.rb', line 2154 def unknown @unknown end |