getExpires

abstract fun getExpires(): Date

Gets the expiration date of the authentication token attached to this Identity instance when available. Note that it may be missing, typically in return of the [com.orange.webcom.sdk.authentication.methods.PersonalPasswordMethod.attachIdentity] or [com.orange.webcom.sdk.authentication.methods.OneTimePasswordMethod.attachIdentity] methods, which doesn't authenticate the user.

Return

The expiration date of the authentication token attached to this Identity instance or null if not available