Class: Aws::SSOAdmin::Types::Grant

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/types.rb

Overview

Note:

Grant is a union - when making an API calls you must set exactly one of the members.

Note:

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.

Defined Under Namespace

Classes: AuthorizationCode, JwtBearer, RefreshToken, TokenExchange, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#authorization_codeTypes::AuthorizationCodeGrant

Configuration options for the authorization_code grant type.



2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
# File 'gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/types.rb', line 2032

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_bearerTypes::JwtBearerGrant

Configuration options for the urn:ietf:params:oauth:grant-type:jwt-bearer grant type.



2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
# File 'gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/types.rb', line 2032

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_tokenTypes::RefreshTokenGrant

Configuration options for the refresh_token grant type.

Returns:

  • (Types::RefreshTokenGrant)


2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
# File 'gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/types.rb', line 2032

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_exchangeTypes::TokenExchangeGrant

Configuration options for the urn:ietf:params:oauth:grant-type:token-exchange grant type.

Returns:

  • (Types::TokenExchangeGrant)


2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
# File 'gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/types.rb', line 2032

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2032
2033
2034
# File 'gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/types.rb', line 2032

def unknown
  @unknown
end