Class: Aws::CognitoIdentityProvider::Types::ResourceServerScopeType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::ResourceServerScopeType
- Includes:
- Structure
- Defined in:
- 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].
This data type is a request parameter of [CreateResourceServer] and a response parameter of [DescribeResourceServer].
[1]: docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-define-resource-servers.html [2]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateResourceServer.html [3]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeResourceServer.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#scope_description ⇒ String
A friendly description of a custom scope.
-
#scope_name ⇒ String
The name of the scope.
Instance Attribute Details
#scope_description ⇒ String
A friendly description of a custom scope.
9058 9059 9060 9061 9062 9063 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 9058 class ResourceServerScopeType < Struct.new( :scope_name, :scope_description) SENSITIVE = [] include Aws::Structure end |
#scope_name ⇒ String
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`.
9058 9059 9060 9061 9062 9063 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 9058 class ResourceServerScopeType < Struct.new( :scope_name, :scope_description) SENSITIVE = [] include Aws::Structure end |