AuthProvider constructor

AuthProvider({
  1. String? id,
  2. String? issuer,
  3. String? jwksUri,
  4. String? audiences,
  5. String? authorizationUrl,
  6. Iterable<JwtLocation>? jwtLocations,
})

Implementation

factory AuthProvider({
  $core.String? id,
  $core.String? issuer,
  $core.String? jwksUri,
  $core.String? audiences,
  $core.String? authorizationUrl,
  $core.Iterable<JwtLocation>? jwtLocations,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (issuer != null) {
    _result.issuer = issuer;
  }
  if (jwksUri != null) {
    _result.jwksUri = jwksUri;
  }
  if (audiences != null) {
    _result.audiences = audiences;
  }
  if (authorizationUrl != null) {
    _result.authorizationUrl = authorizationUrl;
  }
  if (jwtLocations != null) {
    _result.jwtLocations.addAll(jwtLocations);
  }
  return _result;
}