Functions
createBasicMessage
- createBasicMessage(user: string, pwd: string): string
createType1Message
- createType1Message(workstation?: undefined | string, target?: undefined | string): string
Parameters
workstation: undefined | string = undefined
target: undefined | string = undefined
Returns string
createType3Message
- createType3Message(type2Message: IType2, username: string, password: string, workstation?: string, target?: string): string
Parameters
type2Message: IType2
username: string
password: string
Optional workstation: string
Optional target: string
Returns string
decodeType2Message
- decodeType2Message(str: any): IType2
Returns the basic auth header