oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/oidc/authentication/OidcIdTokenDecoderFactory.java
public final void setJwsAlgorithmResolver(Function<ClientRegistration, JwsAlgorithm> jwsAlgorithmResolver) {
		Assert.notNull(jwsAlgorithmResolver, "jwsAlgorithmResolver cannot be null");
		this.jwsAlgorithmResolver = jwsAlgorithmResolver;
	}
public final void setJwsAlgorithmResolver(Function<ClientRegistration, JwsAlgorithm> jwsAlgorithmResolver) {
		Assert.notNull(jwsAlgorithmResolver, "jwsAlgorithmResolver cannot be null");
		this.jwsAlgorithmResolver = jwsAlgorithmResolver;
	}
public final void setJwsAlgorithmResolver ( Function < ClientRegistration , JwsAlgorithm > jwsAlgorithmResolver ) { Assert . notNull ( jwsAlgorithmResolver , "jwsAlgorithmResolver cannot be null" ) ; this . jwsAlgorithmResolver = jwsAlgorithmResolver ; }
Sets the resolver that provides the expected {@link JwsAlgorithm JWS algorithm}
used for the signature or MAC on the {@link OidcIdToken ID Token}.
The default resolves to {@link SignatureAlgorithm#RS256 RS256} for all {@link ClientRegistration clients}.

@param jwsAlgorithmResolver the resolver that provides the expected {@link JwsAlgorithm JWS algorithm}
for a specific {@link ClientRegistration client}
Sets the resolver that provides the expected { @link JwsAlgorithm JWS algorithm } used for the signature or MAC on the { @link OidcIdToken ID Token } . The default resolves to { @link SignatureAlgorithm#RS256 RS256 } for all { @link ClientRegistration clients } .