Readonly
apiRepresents an API object with a generic type of any.
Readonly
authenticatorReadonly
externalRepresents an external provider for the application.
Readonly
optionsRepresents the options for the IDM (Internet Download Manager).
Readonly
registrationReadonly
sessionRepresents a user session with the application.
Optional
sessionA function handler that is called when an external provider session is loaded.
None
Optional
sessionOptional
sessionReadonly
urlRepresents a URLManager object that manages URLs.
Readonly
userHandles the authentication response from the server.
The response object from the server.
Optional
username: stringThe username associated with the response.
Optional
isRenewal: booleanIndicates if the authentication is a renewal.
Optional
isLocalAuthentication: booleanIndicates if the authentication is local.
A promise that resolves when the authentication response is handled.
Checks if a user is logged in by calling the isLogged method of the session object.
true if the user is logged in, false otherwise
Asynchronously loads the session with an optional login URL and extra context.
Optional
optLoginURL: stringOptional login URL to use during session loading.
Optional
optExtraContext: anyOptional extra context to provide during session loading.
True if the session was successfully loaded and the user is logged in, false otherwise.
IDM class that implements ExternalProviderDatasource, AuthenticatorDatasource, RegistrationDatasource, and UserDatasource interfaces.