AWSCognitoIdentityUserSessionToken

@interface AWSCognitoIdentityUserSessionToken : NSObject

A JWT session token.

  • The raw JWT token as a string. *

    Declaration

    Objective-C

    @property (readonly, nonatomic) 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 (readonly, nonatomic)
        NSDictionary<NSString *, NSString *> *_Nonnull claims;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var tokenClaims: [String : Any] { get }