OAuth2Oidc.fromMap constructor

OAuth2Oidc.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory OAuth2Oidc.fromMap(Map<String, dynamic> map) {
  return OAuth2Oidc(
    $id: map['\$id'].toString(),
    enabled: map['enabled'],
    clientId: map['clientId'].toString(),
    clientSecret: map['clientSecret'].toString(),
    wellKnownURL: map['wellKnownURL'].toString(),
    authorizationURL: map['authorizationURL'].toString(),
    tokenURL: map['tokenURL'].toString(),
    userInfoURL: map['userInfoURL'].toString(),
  );
}