Class OpenIdResponse


  • public class OpenIdResponse
    extends Object
    JSON body response of the OpenID API.
    • Field Detail

      • accessToken

        private String accessToken
        Required. An access token the consumer may use to verify the identity of the person who generated the token. This is given to the federation API GET /openid/userinfo.
      • tokenType

        private String tokenType
        Required. The string Bearer.
      • matrixServerName

        private String matrixServerName
        Required. The homeserver domain the consumer should use when attempting to verify the user's identity.
      • expiresIn

        private Long expiresIn
        Required. The number of seconds before this token expires and a new one must be generated.
    • Constructor Detail

      • OpenIdResponse

        public OpenIdResponse()
    • Method Detail

      • getAccessToken

        public String getAccessToken()
      • setAccessToken

        public void setAccessToken​(String accessToken)
      • getTokenType

        public String getTokenType()
      • setTokenType

        public void setTokenType​(String tokenType)
      • getMatrixServerName

        public String getMatrixServerName()
      • setMatrixServerName

        public void setMatrixServerName​(String matrixServerName)
      • getExpiresIn

        public Long getExpiresIn()
      • setExpiresIn

        public void setExpiresIn​(Long expiresIn)