Structures

The following structures are available globally.

  • Contains the token string and the claims for the token.

    See more

    Declaration

    Swift

    public struct SessionToken
  • Contains the tokens for an active sign in session.

    See more

    Declaration

    Swift

    public struct Tokens
  • Signout options to change the default behavior.

    See more

    Declaration

    Swift

    public struct SignOutOptions
  • The options object for federatedSignIn API.

    See more

    Declaration

    Swift

    public struct FederatedSignInOptions
  • The options object for showSignIn API when using Hosted Auth solution like Amazon Cognito UserPools or AUth0.

    NOTE: If specified, some of the values in this type will override the corresponding values in awsconfiguration.json. See the init method below.

    See more

    Declaration

    Swift

    public struct HostedUIOptions
  • Contains the result of the forgot password operation.

    See more

    Declaration

    Swift

    public struct ForgotPasswordResult
  • Contains the result of the sign in operation.

    See more

    Declaration

    Swift

    public struct SignInResult
  • Contains the result of the sign up operation.

    See more

    Declaration

    Swift

    public struct SignUpResult
  • Contains the details about where a code was sent to the user.

    See more

    Declaration

    Swift

    public struct UserCodeDeliveryDetails
  • The structure that holds information about a device.

    See more

    Declaration

    Swift

    public struct Device
  • The result object for list operation in DeviceOperations.

    See more

    Declaration

    Swift

    public struct ListDevicesResult
  • The result object for updateStatus operation in DeviceOperations.

    Declaration

    Swift

    public struct UpdateDeviceStatusResult