c

dynamics.client

AuthenticationContext

class AuthenticationContext extends Object

From js ADAL library. For details on using ADAL in general: https://msdn.microsoft.com/en-us/library/gg327838.aspx.

Annotations
@RawJSType() @native() @JSImport( "adal-node" , "AuthenticationContext" )
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AuthenticationContext
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AuthenticationContext(authority: String, validateAuthority: Boolean = true)

Value Members

  1. def acquireTokenWithAuthorizationCode(authorizationCode: String, redirectUri: String, resource: String, applicationId: String, secret: String, callback: Function2[Error, UndefOr[|[ErrorResponse, TokenInfo]], Unit]): Unit

    Use username/password combination.

  2. def acquireTokenWithClientCredentials(resource: String, applicationId: String, secret: String, callback: Function2[Error, UndefOr[|[ErrorResponse, TokenInfo]], Unit]): Unit

    Use client credentials.

  3. def acquireTokenWithRefreshtoken(refreshToken: String, applicationId: String, ecret: String, resource: String, callback: Function2[Error, UndefOr[|[ErrorResponse, TokenInfo]], Unit]): Unit

    Use username/password combination.

  4. def acquireTokenWithUsernamePassword(resource: String, username: String, password: String, applicationId: String, callback: Function2[Error, UndefOr[|[ErrorResponse, TokenInfo]], Unit]): Unit

    Use username/password combination.

  5. def authority: Object
  6. def cache: Object
  7. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  8. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  9. def options: Object
  10. def options_=(o: Object): Unit
  11. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  12. def toLocaleString(): String
    Definition Classes
    Object
  13. def valueOf(): Any
    Definition Classes
    Object