AWSCognitoIdentityProviderResourceServerType

Objective-C

@interface AWSCognitoIdentityProviderResourceServerType

Swift

class AWSCognitoIdentityProviderResourceServerType

A container for information about a resource server for a user pool.

  • A unique resource server identifier for the resource server. The identifier can be an API friendly name like solar-system-data. You can also set an API URL like https://solar-system-data-api.example.com as your identifier.

    Amazon Cognito represents scopes in the access token in the format $resource-server-identifier/$scope. Longer scope-identifier strings increase the size of your access tokens.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable identifier;

    Swift

    var identifier: String? { get set }
  • The name of the resource server.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable name;

    Swift

    var name: String? { get set }
  • A list of scopes that are defined for the resource server.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderResourceServerScopeType *> *_Nullable scopes;

    Swift

    var scopes: [AWSCognitoIdentityProviderResourceServerScopeType]? { get set }
  • The user pool ID for the user pool that hosts the resource server.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable userPoolId;

    Swift

    var userPoolId: String? { get set }