object AuthManager

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AuthManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val defaultCalc: (TokenInfo) ⇒ FiniteDuration
  2. def tokenStream[F[_]](f: ⇒ F[TokenInfo], calc: (TokenInfo) ⇒ FiniteDuration = defaultCalc)(implicit F: Async[F], timer: Timer[F]): Stream[F, TokenInfo]

    Stream of TokenInfo.

    Stream of TokenInfo. Default is to renew at 95% of expiration time.

    f

    Create a token. Generally from AuthManager.getTokenWithRetry.

    calc

    Calculate when to get the next token.

    returns

    Stream that provides auth tokens.