oauth2-authorization-server/src/main/java/org/springframework/security/config/annotation/web/configurers/oauth2/server/authorization/OAuth2AuthorizationServerConfigurer.java
/**
	 * Sets the authorization consent service.
	 *
	 * @param authorizationConsentService the authorization consent service
	 * @return the {@link OAuth2AuthorizationServerConfigurer} for further configuration
	 */
Sets the authorization consent service.
@param authorizationConsentService the authorization consent service
@return the  OAuth2AuthorizationServerConfigurer for further configuration
Sets the authorization consent service . @param authorizationConsentService the authorization consent service @return the OAuth2AuthorizationServerConfigurer for further configuration
public OAuth2AuthorizationServerConfigurer<B> authorizationConsentService(OAuth2AuthorizationConsentService authorizationConsentService) {
		Assert.notNull(authorizationConsentService, "authorizationConsentService cannot be null");
		this.getBuilder().setSharedObject(OAuth2AuthorizationConsentService.class, authorizationConsentService);
		return this;
	}
public OAuth2AuthorizationServerConfigurer < B > authorizationConsentService ( OAuth2AuthorizationConsentService authorizationConsentService ) { Assert . notNull ( authorizationConsentService , "authorizationConsentService cannot be null" ) ; this . getBuilder ( ) . setSharedObject ( OAuth2AuthorizationConsentService . class , authorizationConsentService ) ; return this ; }
Sets the authorization consent service.
Sets the authorization consent service .