クラス BearerTokenError

java.lang.ObjectSE
org.springframework.security.oauth2.core.OAuth2Error
org.springframework.security.oauth2.server.resource.BearerTokenError
実装済みのインターフェース一覧:
SerializableSE

  • コンストラクターの詳細

    • BearerTokenError

      public BearerTokenError(StringSE errorCode, org.springframework.http.HttpStatus httpStatus, @Nullable StringSE description, @Nullable StringSE errorUri)
      提供されたパラメーターを使用して BearerTokenError を作成します
      パラメーター:
      errorCode - エラーコード
      httpStatus - HTTP ステータス
    • BearerTokenError

      public BearerTokenError(StringSE errorCode, org.springframework.http.HttpStatus httpStatus, @Nullable StringSE description, @Nullable StringSE errorUri, @Nullable StringSE scope)
      提供されたパラメーターを使用して BearerTokenError を作成します
      パラメーター:
      errorCode - エラーコード
      httpStatus - HTTP ステータス
      description - 説明
      errorUri - URI
      scope - 範囲
  • 方法の詳細

    • getHttpStatus

      public org.springframework.http.HttpStatus getHttpStatus()
      HTTP ステータスを返します。
      戻り値:
      HTTP ステータス
    • getScope

      public @Nullable StringSE getScope()
      スコープを返します。
      戻り値:
      スコープ、または設定されていない場合は null