mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-05-16 08:04:06 +08:00
fix(ms-adal): make userId optional (#1894)
The docs say User Identifier is optional but the method does not reflect it.
This commit is contained in:
parent
955c450483
commit
21045ea535
@ -137,7 +137,7 @@ export class AuthenticationContext {
|
|||||||
@CordovaInstance({
|
@CordovaInstance({
|
||||||
otherPromise: true
|
otherPromise: true
|
||||||
})
|
})
|
||||||
acquireTokenAsync(resourceUrl: string, clientId: string, redirectUrl: string, userId: string, extraQueryParameters?: any): Promise<AuthenticationResult> { return; }
|
acquireTokenAsync(resourceUrl: string, clientId: string, redirectUrl: string, userId?: string, extraQueryParameters?: any): Promise<AuthenticationResult> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Acquires token WITHOUT using interactive flow. It checks the cache to return existing result
|
* Acquires token WITHOUT using interactive flow. It checks the cache to return existing result
|
||||||
@ -152,6 +152,6 @@ export class AuthenticationContext {
|
|||||||
@CordovaInstance({
|
@CordovaInstance({
|
||||||
otherPromise: true
|
otherPromise: true
|
||||||
})
|
})
|
||||||
acquireTokenSilentAsync(resourceUrl: string, clientId: string, userId: string): Promise<AuthenticationResult> { return; }
|
acquireTokenSilentAsync(resourceUrl: string, clientId: string, userId?: string): Promise<AuthenticationResult> { return; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user