Credential class
Represent User's credential, wrapper for X.509 Certificate
Constructors
- Credential({required String id, required String localCreated, required String localUpdated, required String apiBaseURL, required String tenantId, required String realmId, required String identityId, required String keyHandle, required CredentialState state, required String created, required String updated, required Tenant tenant, required Realm realm, required Identity identity, required Theme theme})
Properties
- apiBaseURL ↔ String
-
The base url for all binding & auth requests
getter/setter pair
- created ↔ String
-
The time this credential was created.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
The Globally unique ID of this Credential.
getter/setter pair
- identity ↔ Identity
-
Identity information associated with this credential.
getter/setter pair
- identityId ↔ String
-
The Identity that owns this Credential.
getter/setter pair
- keyHandle ↔ String
-
Associated key handle.
getter/setter pair
- localCreated ↔ String
-
The time when this credential was created locally. This could be different from "created" which is the time when this credential was created on the server.
getter/setter pair
- localUpdated ↔ String
-
The last time when this credential was updated locally. This could be different from "updated" which is the last time when this credential was updated on the server.
getter/setter pair
- realm ↔ Realm
-
Realm information associated with this credential.
getter/setter pair
- realmId ↔ String
-
The Identity's Realm.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ CredentialState
-
The current state of this credential
getter/setter pair
- tenant ↔ Tenant
-
Tenant information associated with this credential.
getter/setter pair
- tenantId ↔ String
-
The Identity's Tenant.
getter/setter pair
- theme ↔ Theme
-
Theme information associated with this credential
getter/setter pair
- updated ↔ String
-
The last time this credential was updated.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
mapToCredential(
dynamic cred) → Credential