Class BearerTokenError

    • Constructor Summary

      Constructors 
      Constructor Description
      BearerTokenError​(java.lang.String errorCode, org.springframework.http.HttpStatus httpStatus, java.lang.String description, java.lang.String errorUri)
      Create a BearerTokenError using the provided parameters
      BearerTokenError​(java.lang.String errorCode, org.springframework.http.HttpStatus httpStatus, java.lang.String description, java.lang.String errorUri, java.lang.String scope)
      Create a BearerTokenError using the provided parameters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.http.HttpStatus getHttpStatus()
      Return the HTTP status.
      java.lang.String getScope()
      Return the scope.
      • Methods inherited from class org.springframework.security.oauth2.core.OAuth2Error

        getDescription, getErrorCode, getUri, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BearerTokenError

        public BearerTokenError​(java.lang.String errorCode,
                                org.springframework.http.HttpStatus httpStatus,
                                java.lang.String description,
                                java.lang.String errorUri)
        Create a BearerTokenError using the provided parameters
        Parameters:
        errorCode - the error code
        httpStatus - the HTTP status
      • BearerTokenError

        public BearerTokenError​(java.lang.String errorCode,
                                org.springframework.http.HttpStatus httpStatus,
                                java.lang.String description,
                                java.lang.String errorUri,
                                java.lang.String scope)
        Create a BearerTokenError using the provided parameters
        Parameters:
        errorCode - the error code
        httpStatus - the HTTP status
        description - the description
        errorUri - the URI
        scope - the scope
    • Method Detail

      • getHttpStatus

        public org.springframework.http.HttpStatus getHttpStatus()
        Return the HTTP status.
        Returns:
        the HTTP status
      • getScope

        public java.lang.String getScope()
        Return the scope.
        Returns:
        the scope