Class: Aws::CognitoIdentityProvider::Types::ResourceServerScopeType

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

Overview

One custom scope associated with a user pool resource server. This data type is a member of ResourceServerScopeType. For more information, see Scopes, M2M, and API authorization with resource servers.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#scope_descriptionString

A friendly description of a custom scope.

Returns:

  • (String)


8847
8848
8849
8850
8851
8852
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8847

class ResourceServerScopeType < Struct.new(
  :scope_name,
  :scope_description)
  SENSITIVE = []
  include Aws::Structure
end

#scope_nameString

The name of the scope. Amazon Cognito renders custom scopes in the format resourceServerIdentifier/ScopeName. For example, if this parameter is exampleScope in the resource server with the identifier exampleResourceServer, you request and receive the scope exampleResourceServer/exampleScope.

Returns:

  • (String)


8847
8848
8849
8850
8851
8852
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8847

class ResourceServerScopeType < Struct.new(
  :scope_name,
  :scope_description)
  SENSITIVE = []
  include Aws::Structure
end