@studyportals/sp-hs-misc
Version:
Miscellaneous code used in HouseStark's projects
33 lines (32 loc) • 817 B
TypeScript
/**
* A result that is returned after successfully authenticating.
*
* @deprecated Use @studyportals/client-internal-platform-sso
*/
interface ISuccessfulAuthenticationResult {
/**
* 屪
*/
readonly __i_successful_authentication_result__: true;
/**
* Gets the unique identifier of the user.
*/
readonly userIdentifier: string;
/**
* Gets the resulted identity token.
*/
readonly idToken: string;
/**
* Gets the resulted refresh token.
*/
readonly refreshToken: string;
/**
* Get the amount of milliseconds.
*/
readonly idTokenAvailabilityInMs: number;
/**
* Gets the date and time when the identity token was created.
*/
readonly idTokenTimeOfCreation: Date;
}
export { ISuccessfulAuthenticationResult };