TsgcWSAPIServer_WebAuthn › Methods

TsgcWSAPIServer_WebAuthn Methods

Public methods grouped by purpose, followed by the full alphabetical list.

Credentials

NameDescription
AddCredentialRegisters an existing credential (public key, credential id and user) in the server credential store.

Validation

NameDescription
ValidateRegistrationOptionsParses the client attestation payload and validates a new credential registration per the WebAuthn specification.
ValidateAuthenticationOptionsParses the authenticator data, client data and signature and authenticates the user against the stored credential.
IsWebAuthnTokenValidChecks whether the WebAuthn bearer token supplied by the client is still valid for the given connection.
IsWebAuthnUnauthorizedReturns True when the connection is not authorized and a 401 response must be sent.
IsWebAuthnRequestReturns True when the incoming URL path matches one of the configured WebAuthn endpoints.

Lifecycle

NameDescription
KeepAliveSends a keep-alive ping on the given connection to prevent the authenticated session from expiring.

Advanced

NameDescription
DoProcessHTTPEntry point of the HTTP pipeline; dispatches registration, authentication and authorization requests.

All Methods (alphabetical)

NameDescription
AddCredentialRegisters an existing credential (public key, credential id and user) in the server credential store.
DoProcessHTTPEntry point of the HTTP pipeline; dispatches registration, authentication and authorization requests.
IsWebAuthnRequestReturns True when the incoming URL path matches one of the configured WebAuthn endpoints.
IsWebAuthnTokenValidChecks whether the WebAuthn bearer token supplied by the client is still valid for the given connection.
IsWebAuthnUnauthorizedReturns True when the connection is not authorized and a 401 response must be sent.
KeepAliveSends a keep-alive ping on the given connection to prevent the authenticated session from expiring.
ValidateAuthenticationOptionsParses the authenticator data, client data and signature and authenticates the user against the stored credential.
ValidateRegistrationOptionsParses the client attestation payload and validates a new credential registration per the WebAuthn specification.