Readonly
configReadonly
currentReadonly
currentThe state of the current authentication context.
Readonly
emitterConnect the user using the provided authentication configuration. Returns the authentication context after the connection is established or throw an error otherwise.
The authentication context.
Optional
params: { The authentication configuration.
Optional
assignOptional
authOptional
resolveUse ArnAuthContext.disconnect() instead.
Optional
context: ArnAuthContextProduces an Authorization header to authenticate the connected user in a request to the server.
If no user is connected on the provided/default context.
Optional
context: ArnAuthContextThe authentication context to produce the header for, or the latest one by default.
Return if a context is connected.
Optional
context: ArnAuthContextThe auth context to check (current one by default).
Sign a jwt with a given key.
The JWT to sign.
The symbolic name of the key, to be found in the ARN project auth configuration.
Optional
tokenId: stringThe id of the token to use for signing (if the key is restricted token owners of a specific contract).
Use ArnAuthContext.trySwitchChain() instead.
Optional
context: ArnAuthContextGenerated using TypeDoc
ARN Client authentication service.