AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The object that your application receives after authentication. Contains tokens and information for device authentication.

This data type is a response parameter of authentication operations like InitiateAuth, AdminInitiateAuth, RespondToAuthChallenge, and AdminRespondToAuthChallenge.

Inheritance Hierarchy

System.Object
  Amazon.CognitoIdentityProvider.Model.AuthenticationResultType

Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z

Syntax

C#
public class AuthenticationResultType

The AuthenticationResultType type exposes the following members

Constructors

NameDescription
Public Method AuthenticationResultType()

Properties

NameTypeDescription
Public Property AccessToken System.String

Gets and sets the property AccessToken.

Your user's access token.

Public Property ExpiresIn System.Int32

Gets and sets the property ExpiresIn.

The expiration period of the authentication result in seconds.

Public Property IdToken System.String

Gets and sets the property IdToken.

Your user's ID token.

Public Property NewDeviceMetadata Amazon.CognitoIdentityProvider.Model.NewDeviceMetadataType

Gets and sets the property NewDeviceMetadata.

The new device metadata from an authentication result.

Public Property RefreshToken System.String

Gets and sets the property RefreshToken.

Your user's refresh token.

Public Property TokenType System.String

Gets and sets the property TokenType.

The intended use of the token, for example Bearer.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5