Skip to main content

ICognitoIdentityProviderCreateResourceServerRequest

Interface in AWS.CognitoIdentityProvider

Interface for CreateResourceServer requests.

Ancestors

Properties

Identifier

property Identifier: string

Specify a unique identifier for the resource server.

This could be an HTTPS endpoint where the resource server is located.

Name

property Name: string

Specify a friendly name for the resource server.

Scopes

property Scopes: TList<ICognitoIdentityProviderResourceServerScopeType>

Type: ICognitoIdentityProviderResourceServerScopeType

Specify a list of scopes.

UserPoolId

property UserPoolId: string

Specify the ID of the user pool.

Methods

AddScope

function AddScope(const AScopeName, AScopeDescription: string): Integer;

Add a scope to Scopes.

Parameters

NameDescription
AScopeNameSpecify the name of the scope.
AScopeDescriptionSpecify the description of the scope.

Returns

Returns the index of the added scope.