編輯

共用方式為


MsalAuthenticationResult type

type MsalAuthenticationResult = {
  acquireToken: (
    callbackInteractionType?: InteractionType | undefined,
    callbackRequest?: SilentRequest | undefined
  ) => Promise<AuthenticationResult | null>,
  error: AuthError | null,
  login: (
    callbackInteractionType?: InteractionType | undefined,
    callbackRequest?: PopupRequest | RedirectRequest | SilentRequest
  ) => Promise<AuthenticationResult | null>,
  result: AuthenticationResult | null,
}