Class AccessToken

    • Method Detail

      • fromJson

        public static AccessToken fromJson​(String json,
                                           com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a AccessToken object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        AccessToken object represented by the provided JSON
      • fromJson

        public static AccessToken fromJson​(InputStream json,
                                           com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a AccessToken object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        AccessToken object represented by the provided JSON
      • getSid

        public final String getSid()
      • getAccountSid

        public final String getAccountSid()
      • getServiceSid

        public final String getServiceSid()
      • getEntityIdentity

        public final String getEntityIdentity()
      • getFactorFriendlyName

        public final String getFactorFriendlyName()
      • getToken

        public final String getToken()
      • getUrl

        public final URI getUrl()
      • getTtl

        public final Integer getTtl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object