Modifier

Partager via


IMsalService interface

Methods

acquireTokenPopup(PopupRequest)
acquireTokenRedirect(RedirectRequest)
acquireTokenSilent(SilentRequest)
getLogger()
handleRedirectObservable()
initialize()
loginPopup(PopupRequest)
loginRedirect(RedirectRequest)
logout(EndSessionRequest)
setLogger(Logger)
ssoSilent(AuthorizationUrlRequest)

Method Details

acquireTokenPopup(PopupRequest)

function acquireTokenPopup(request: PopupRequest): Observable<AuthenticationResult>

Parameters

request

PopupRequest

Returns

Observable<AuthenticationResult>

acquireTokenRedirect(RedirectRequest)

function acquireTokenRedirect(request: RedirectRequest): Observable<void>

Parameters

request

RedirectRequest

Returns

Observable<void>

acquireTokenSilent(SilentRequest)

function acquireTokenSilent(silentRequest: SilentRequest): Observable<AuthenticationResult>

Parameters

silentRequest

SilentRequest

Returns

Observable<AuthenticationResult>

getLogger()

function getLogger(): Logger

Returns

Logger

handleRedirectObservable()

function handleRedirectObservable(): Observable<AuthenticationResult | null>

Returns

Observable<AuthenticationResult | null>

initialize()

function initialize(): Observable<void>

Returns

Observable<void>

loginPopup(PopupRequest)

function loginPopup(request?: PopupRequest): Observable<AuthenticationResult>

Parameters

request

PopupRequest

Returns

Observable<AuthenticationResult>

loginRedirect(RedirectRequest)

function loginRedirect(request?: RedirectRequest): Observable<void>

Parameters

request

RedirectRequest

Returns

Observable<void>

logout(EndSessionRequest)

function logout(logoutRequest?: EndSessionRequest): Observable<void>

Parameters

logoutRequest

EndSessionRequest

Returns

Observable<void>

setLogger(Logger)

function setLogger(logger: Logger)

Parameters

logger

Logger

ssoSilent(AuthorizationUrlRequest)

function ssoSilent(request: AuthorizationUrlRequest): Observable<AuthenticationResult>

Parameters

request

AuthorizationUrlRequest

Returns

Observable<AuthenticationResult>