WebAPI class
Constructors
- WebAPI({LocalAuthentication? localAuth})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createAssertionResponse(
CollectedClientData collectedClientData, Assertion assertion) → Future< AssertionResponse> - Convert an Assertion into an AssertionResponse that can be sent to the Relying Party as a response to a getAssertion request
-
createAttestationResponse(
CollectedClientData collectedClientData, Attestation attestation) → Future< AttestationResponse> - Convert an Attestation into an AttestationResponse that can be sent to the Relying Party as a response to a createCredential request
-
createGetAssertionOptions(
String origin, CredentialRequestOptions options, bool sameOriginWithAncestor) → Future< (CollectedClientData, GetAssertionOptions)> -
Perform portions of the internal Get operations. This will help to
convert the options received from the relying party for use with
the
getAssertion
method @see https://www.w3.org/TR/webauthn/#sctn-getAssertion -
createMakeCredentialOptions(
String origin, CreateCredentialOptions options, bool sameOriginWithAncestor) → Future< (CollectedClientData, MakeCredentialOptions)> -
Perform portions of the internal Create operations. This will help to
convert the options received from the relying party for use with
the
makeCredential
method @see https://www.w3.org/TR/webauthn/#sctn-createCredential -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
base64Decode(
String base64) → Uint8List -
base64Encode(
List< int> bytes) → String - Encode a byte list into base64 per the WebAuthn standard