toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.issuer != null) {
json[r'issuer'] = this.issuer;
} else {
json[r'issuer'] = null;
}
if (this.authorizationEndpoint != null) {
json[r'authorization_endpoint'] = this.authorizationEndpoint;
} else {
json[r'authorization_endpoint'] = null;
}
if (this.tokenEndpoint != null) {
json[r'token_endpoint'] = this.tokenEndpoint;
} else {
json[r'token_endpoint'] = null;
}
if (this.userinfoEndpoint != null) {
json[r'userinfo_endpoint'] = this.userinfoEndpoint;
} else {
json[r'userinfo_endpoint'] = null;
}
if (this.jwksUri != null) {
json[r'jwks_uri'] = this.jwksUri;
} else {
json[r'jwks_uri'] = null;
}
if (this.registrationEndpoint != null) {
json[r'registration_endpoint'] = this.registrationEndpoint;
} else {
json[r'registration_endpoint'] = null;
}
json[r'scopes_supported'] = this.scopesSupported;
json[r'response_types_supported'] = this.responseTypesSupported;
json[r'response_modes_supported'] = this.responseModesSupported;
json[r'grant_types_supported'] = this.grantTypesSupported;
json[r'subject_types_supported'] = this.subjectTypesSupported;
json[r'id_token_signing_alg_values_supported'] = this.idTokenSigningAlgValuesSupported;
json[r'token_endpoint_auth_methods_supported'] = this.tokenEndpointAuthMethodsSupported;
json[r'claims_supported'] = this.claimsSupported;
json[r'code_challenge_methods_supported'] = this.codeChallengeMethodsSupported;
return json;
}