AWSCognitoIdentityUserSessionToken

@interface AWSCognitoIdentityUserSessionToken : NSObject

A JWT session token.

  • The raw JWT token as a string. *

    Declaration

    Objective-C

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

    Swift

    var tokenString: String { get }
  • Deprecated

    Use tokenClaims instead.

    A NSDictionary of claims in this token.

    @deprecated This property is incorrectly typed as a [String : String], but claim values may be of several different type.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DEPRECATED_MSG_ATTRIBUTE("Use `tokenClaims` instead.") NSDictionary<NSString *, NSString *> *claims;

    Swift

    var claims: [String : String] { get }
  • A Dictionary of claims in this token

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSDictionary<NSString *, id> *_Nonnull tokenClaims;

    Swift

    var tokenClaims: [String : Any] { get }