Application class

Application for ZITADEL. An application is an OIDC application type that allows a backend (for example an API for some single page application) to check if sent credentials from a client are valid or not.

When using ZITADEL to authenticate a user against some backend, the application provides the means to access the introspection endpoint of ZITADEL. It uses OIDC Introspection, defined in RFC7662.

To create an application json, head over to your ZITADEL console and execute the following steps:

  • Create a project
  • Create an API application
  • Create a "key" inside the application to create and download the JWT profile

Constructors

Application.fromJson(Map<String, dynamic> json)
Load an application from a JSON map.
Application.fromJsonString(String json)
Load an application from a JSON string.

Properties

appId String
The ID of the application.
final
clientId String
The client ID of the application.
final
hashCode int
The hash code for this object.
no setterinherited
key String
The private RSA key of the application. Used to sign the JWT.
final
keyId String
The ID of the RSA key.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getSignedJwt(String audience) String
Create and sign a JWT for the given audience.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Create a JSON map from the application.
toString() String
A string representation of this object.
inherited

Operators

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

Constants

type → const String
The type of the object.