AWSIdentityManager Class Reference

Inherits from NSObject
Conforms to AWSIdentityProviderManager
Declared in AWSIdentityManager.h
AWSIdentityManager.m

Other Methods

  identityId

Amazon Cognito User Identity ID. This uniquely identifies the user, regardless of whether or not the user is signed-in, if User Sign-in is enabled in the project.

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

Return Value

unique user identifier

Declared In

AWSIdentityManager.h

  credentialsProvider

Amazon Cognito Credentials Provider. This is the credential provider used by the Identity Manager.

@property (nonatomic, readonly, strong) AWSCognitoCredentialsProvider *credentialsProvider

Return Value

the cognito credentials provider

Declared In

AWSIdentityManager.h

+ defaultIdentityManager

Returns the Identity Manager singleton instance configured using the information provided in awsconfiguration.json or Info.plist file.

+ (instancetype)defaultIdentityManager

Discussion

Swift

let identityManager = AWSIdentityManager.default()

Objective-C

AWSIdentityManager *identityManager = [AWSIdentityManager defaultIdentityManager];

Declared In

AWSIdentityManager.h

Other Methods

– logins

Each entry in logins represents a single login with an identity provider. The key is the domain of the login provider (e.g. ‘graph.facebook.com’) and the value is the OAuth/OpenId Connect token that results from an authentication with that login provider.

- (AWSTask<NSDictionary<NSString*,NSString*> *> *)logins

Declared In

AWSIdentityProvider.h