java.lang.Object
it.pagopa.swclient.mil.azureservices.identity.bean.AccessToken

public class AccessToken extends Object

DTO of the response from Microsoft Entra ID to the request for an access token.

Author:
Antonio Tarricone
  • Field Details

    • type

      private String type

      Type of the returned access token. It should be always Bearer.

    • expiresOn

      private long expiresOn

      Unix epoch in seconds of expiration of the returned access token.

    • clientId

      private String clientId

      Client ID of the applicant.

    • resource

      private String resource

      Resource which can be accessed using the returned access token.

    • value

      private String value

      Value of the returned access token.

  • Constructor Details

    • AccessToken

      public AccessToken()

      Default constructor.