クラス InMemoryReactiveOneTimeTokenService

java.lang.ObjectSE
org.springframework.security.authentication.ott.reactive.InMemoryReactiveOneTimeTokenService
実装されているすべてのインターフェース:
ReactiveOneTimeTokenService

public final class InMemoryReactiveOneTimeTokenService extends ObjectSE implements ReactiveOneTimeTokenService
InMemoryOneTimeTokenService 用リアクティブアダプター
導入:
6.4
関連事項:
  • コンストラクターの詳細

    • InMemoryReactiveOneTimeTokenService

      public InMemoryReactiveOneTimeTokenService()
  • メソッドの詳細

    • generate

      public reactor.core.publisher.Mono<OneTimeToken> generate(GenerateOneTimeTokenRequest request)
      インターフェースからコピーされた説明: ReactiveOneTimeTokenService
      提供された生成リクエストに基づいてワンタイムトークンを生成します。
      次で指定:
      インターフェース ReactiveOneTimeTokenServicegenerate 
      パラメーター:
      request - トークンを生成するために必要な情報を含む生成リクエスト
      戻り値:
      生成された OneTimeToken
    • consume

      public reactor.core.publisher.Mono<OneTimeToken> consume(OneTimeTokenAuthenticationToken authenticationToken)
      インターフェースからコピーされた説明: ReactiveOneTimeTokenService
      提供された認証トークンに基づいてワンタイムトークンを消費します。
      次で指定:
      インターフェース ReactiveOneTimeTokenServiceconsume 
      パラメーター:
      authenticationToken - 消費されるワンタイムトークン値を含む認証トークン
      戻り値:
      トークンが無効な場合は消費された OneTimeToken または空の Mono
    • setClock

      public void setClock(ClockSE clock)
      ワンタイムトークンの生成時およびトークンの有効期限の確認時に使用する ClockSE を設定します。
      パラメーター:
      clock - 監視