node-expose-sspi › Globals › "src/sso/client/misc"
▸ encodeBase64(str
: string): string
Defined in src/sso/client/misc.ts:56
Parameters:
Name | Type |
---|---|
str |
string |
Returns: string
▸ getSPNFromURI(url
: string): Promise‹string›
Defined in src/sso/client/misc.ts:19
Get the SPN the same way Chrome/Firefox or IE does.
Links:
- getting the domain name: https://stackoverflow.com/questions/8498592/extract-hostname-name-from-string
- algo of IE : https://support.microsoft.com/en-us/help/4551934/kerberos-failures-in-internet-explorer
Parameters:
Name | Type |
---|---|
url |
string |
Returns: Promise‹string›
▸ md5(str
: string): string
Defined in src/sso/client/misc.ts:61
Parameters:
Name | Type |
---|---|
str |
string |
Returns: string