ServiceAccount class
Class that helps authenticating against the Zitadel issuer with the help of service account credentials. Can be loaded from json.
Constructors
-
ServiceAccount.fromJson(Map<
String, dynamic> json)
Properties
Methods
-
authenticate(
AuthOptions options) → Future< String> - Authenticate the service account with AuthOptions against the provided issuer. The issuer must be provided. You may use ZitadelIssuer.
-
getSignedJwt(
String issuer) → String - Create and sign a JWT for the given issuer. The JWT is signed with RSA256 algorithm and the given private key.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited