mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
refactor(): applied new lint rules
This commit is contained in:
@@ -99,7 +99,7 @@ export interface UserInfo {
|
||||
@Injectable()
|
||||
export class MSAdal extends IonicNativePlugin {
|
||||
|
||||
createAuthenticationContext(authority: string, validateAuthority: boolean = true) {
|
||||
createAuthenticationContext(authority: string, validateAuthority = true) {
|
||||
let authContext: any;
|
||||
if (checkAvailability(MSAdal.getPluginRef(), null, MSAdal.getPluginName()) === true) {
|
||||
authContext = new (MSAdal.getPlugin()).AuthenticationContext(authority);
|
||||
|
||||
Reference in New Issue
Block a user