class AuthManager[F[_]] extends LazyLogger

Convenience functions to work with ADAL tokens. If tenant and authorityHostUrl are undefined, it is attempted to derive them from username (the demain part) and using a default authority hostname https://login.windows.net. If acquireTokenResource is undefined, dataUrl is tried in its place.

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

Instance Constructors

  1. new AuthManager(info: ConnectionInfo)(implicit F: Async[F], PtoF: ~>[Promise, F])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val authority: Option[String]
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getAuthContext(): AuthenticationContext

    Obtain an AuthenticatonContext.

    Obtain an AuthenticatonContext. Throw TokenRequestError on failure.

  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getToken(ctx: AuthenticationContext): F[TokenInfo]

    Get a token wrapped in an effect.

    Get a token wrapped in an effect. No retry is performed if the request fails.

  13. def getTokenWithRetry(ctx: AuthenticationContext, retryPolicy: (F[TokenInfo]) ⇒ F[TokenInfo]): F[TokenInfo]

    Get a token with a potential retry.

  14. val hasUsernameAndPassword: Boolean

    true if we should use username/password, false use client credentials.

  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. lazy val logger: Logger
    Definition Classes
    LazyLogger
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. val tenant: UndefOr[Serializable]
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. val tokenResource: UndefOr[String]
  25. def tokenStream(ctx: AuthenticationContext, retryPolicy: (F[TokenInfo]) ⇒ F[TokenInfo], calc: (TokenInfo) ⇒ FiniteDuration = AuthManager.defaultCalc)(implicit timer: Timer[F]): Stream[F, TokenInfo]

    Get a token stream.

  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from LazyLogger

Inherited from AnyRef

Inherited from Any

Ungrouped