AWSAbstractCognitoCredentialsProviderHelper Class Reference

Inherits from NSObject
Conforms to AWSCognitoCredentialsProviderHelper
Declared in AWSIdentityProvider.h
AWSIdentityProvider.m

Overview

An abstract implementation of the AWSCognitoCredentialsProviderHelper.

Other Methods

– getIdentityId

Get/retrieve the identity id for this provider. If an identity id is already set on this provider, no remote call is made and the identity will be returned as a result of the AWSTask (the identityId is also available as a property). If no identityId is set on this provider, one will be retrieved from the service.

- (AWSTask<NSString*> *)getIdentityId

Declared In

AWSIdentityProvider.h

– clear

Clear saved values for identityId, token, and logins.

- (void)clear

Declared In

AWSIdentityProvider.h

– isAuthenticated

Is this provider considered ‘authenticated’. By default, only returns YES if logins is set.

- (BOOL)isAuthenticated

Declared In

AWSIdentityProvider.h

– setIdentityId:

The identity id as determined by the Amazon Cognito service

- (void)setIdentityId:(NSString *)identityId

Declared In

AWSIdentityProvider.h

Other Methods

  identityPoolId

The identity pool for this provider. Used to when making calls to the Amazon Cognito service

@property (nonatomic, strong, readonly) NSString *identityPoolId

Declared In

AWSIdentityProvider.h

  identityId

The identity id as determined by the Amazon Cognito service

@property (nonatomic, strong, nullable) NSString *identityId

Declared In

AWSIdentityProvider.h

  identityProviderManager

The identity provider manager that asynchronously returns logins.

@property (nonatomic, strong, readonly, nullable) id<AWSIdentityProviderManager> identityProviderManager

Declared In

AWSIdentityProvider.h