AWSIdentityProviderManager

Objective-C

@protocol AWSIdentityProviderManager <NSObject>

Swift

protocol AWSIdentityProviderManager : NSObjectProtocol

AWSIdentityProviderManager provides an interface for creating the logins dictionary for Amazon Cognito Identity.

  • 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.

    Declaration

    Objective-C

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

    Swift

    func logins() -> AWSTask
  • If the token contains the role arn and there are multiple roles, return the custom role to assume. This is currently only supported for SAML identity providers.

    Declaration

    Objective-C

    @optional
    @property (nonatomic, readonly) NSString *_Nonnull customRoleArn;

    Swift

    optional var customRoleArn: String { get }