OAuth2ClientRegistrationTemplate.fromJson constructor

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

Implementation

OAuth2ClientRegistrationTemplate.fromJson(Map<String, dynamic> json)
    : providerId = json['providerId'],
      mapperConfig = OAuth2MapperConfig.fromJson(json['mapperConfig']),
      authorizationUri = json['authorizationUri'],
      accessTokenUri = json['accessTokenUri'],
      scope = json['scope'],
      userInfoUri = json['userInfoUri'],
      userNameAttributeName = json['userNameAttributeName'],
      jwkSetUri = json['jwkSetUri'],
      clientAuthenticationMethod = json['clientAuthenticationMethod'],
      comment = json['comment'],
      loginButtonIcon = json['loginButtonIcon'],
      loginButtonLabel = json['loginButtonLabel'],
      helpLink = json['helpLink'],
      super.fromJson(json, (id) => OAuth2ClientRegistrationTemplateId(id));