AWSIdentityProvider

Objective-C

@protocol AWSIdentityProvider <NSObject>

Swift

protocol AWSIdentityProvider : NSObjectProtocol

AWSIdentityProvider provides an interface for acquiring an identity token from a provider.

  • The name of the identity provider. e.g. graph.facebook.com.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull identityProviderName;

    Swift

    var identityProviderName: String { get }
  • Returns the token associated with this provider. If the token is cached and invalid, should refresh and return the valid token.

    Declaration

    Objective-C

    - (nonnull AWSTask<NSString *> *)token;

    Swift

    func token() -> AWSTask