Class OAuth2Error

    • Constructor Detail

      • OAuth2Error

        public OAuth2Error()
    • Method Detail

      • errorDescription

        public OAuth2Error errorDescription​(String errorDescription)
      • status

        public OAuth2Error status​(javax.ws.rs.core.Response.Status status)
      • build

        public javax.ws.rs.WebApplicationException build()
      • insufficientScope

        public javax.ws.rs.WebApplicationException insufficientScope​(String errorDescription)
      • invalidToken

        public javax.ws.rs.WebApplicationException invalidToken​(String errorDescription)
      • invalidRequest

        public javax.ws.rs.WebApplicationException invalidRequest​(String errorDescription)
      • unauthorized

        public javax.ws.rs.WebApplicationException unauthorized()