toMap method

Map<String, dynamic> toMap()

Converts to a map value

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'issuer': issuer,
    'authorization_endpoint': authorizationEndpoint,
    'token_endpoint': tokenEndpoint,
    'userinfo_endpoint': userInfoEndpoint,
    'revocation_endpoint': revocationEndpoint,
    'jwks_uri': jwksUri,
    'response_types_supported':
        responseTypesSupported.map((x) => x.toJsonString()).toList(),
    'subject_types_supported':
        subjectTypesSupported.map((x) => x.toJsonString()).toList(),
    'id_token_signing_alg_values_supported': idTokenSigningAlgValuesSupported
        .map((x) => x.toJsonString())
        .toList(),
    'scopes_supported': scopesSupported.map((x) => x.toJsonString()).toList(),
    'token_endpoint_auth_methods_supported': tokenEndpointAuthMethodsSupported
        .map((x) => x.toJsonString())
        .toList(),
    'claims_supported': claimsSupported.map((x) => x.toJsonString()).toList(),
  };
}