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
- Alphabetic
- By Inheritance
Inherited
- AuthenticationContext
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
def
acquireTokenWithAuthorizationCode(authorizationCode: String, redirectUri: String, resource: String, applicationId: String, secret: String, callback: Function2[Error, UndefOr[|[ErrorResponse, TokenInfo]], Unit]): Unit
Use username/password combination.
-
def
acquireTokenWithClientCredentials(resource: String, applicationId: String, secret: String, callback: Function2[Error, UndefOr[|[ErrorResponse, TokenInfo]], Unit]): Unit
Use client credentials.
-
def
acquireTokenWithRefreshtoken(refreshToken: String, applicationId: String, ecret: String, resource: String, callback: Function2[Error, UndefOr[|[ErrorResponse, TokenInfo]], Unit]): Unit
Use username/password combination.
-
def
acquireTokenWithUsernamePassword(resource: String, username: String, password: String, applicationId: String, callback: Function2[Error, UndefOr[|[ErrorResponse, TokenInfo]], Unit]): Unit
Use username/password combination.
- def authority: Object
- def cache: Object
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- def options: Object
- def options_=(o: Object): Unit
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
valueOf(): Any
- Definition Classes
- Object