AuthProvider.fromJson constructor

AuthProvider.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AuthProvider.fromJson(Map<String, dynamic> json) {
  return AuthProvider(
    id: json['id'] ?? '',
    issuer: json['issuer'] ?? '',
    jwksUri: json['jwksUri'] ?? '',
    audiences: json['audiences'] ?? '',
    authorizationUrl: json['authorizationUrl'] ?? '',
    jwtLocations:
        decodeListMessage(json['jwtLocations'], JwtLocation.fromJson) ?? [],
  );
}