Credential class

Represent User's credential, wrapper for X.509 Certificate

Constructors

Credential({required String created, required String handle, required String keyHandle, required String name, required String logoURL, required String? loginURI, required String? enrollURI, required List chain, required String rootFingerprint, required CredentialState state})

Properties

chain List
The certificate chain of the Credential.
getter/setter pair
created String
The date the Credential was created.
getter/setter pair
enrollURI String?
The uri of your app's sign up screen. This is where the user would register with your service.
getter/setter pair
handle String
The handle for the Credential.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keyHandle String
The keystore key handle.
getter/setter pair
loginURI String?
The uri of your app's sign in screen. This is where the user would authenticate into your app.
getter/setter pair
logoURL String
The uri of your company or app's logo.
getter/setter pair
name String
The display name of the Credential.
getter/setter pair
rootFingerprint String
The SHA256 hash of the root certificate as a base64 encoded string.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state CredentialState
Current state of the Credential
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

mapToCredential(dynamic cred) Credential