core/src/main/java/org/springframework/security/authorization/AuthorityReactiveAuthorizationManager.java
public static <T> AuthorityReactiveAuthorizationManager<T> hasAnyAuthority(String... authorities) {
		Assert.notNull(authorities, "authorities cannot be null");
		for (String authority : authorities) {
			Assert.notNull(authority, "authority cannot be null");
		}

		return new AuthorityReactiveAuthorizationManager<>(authorities);
	}
public static <T> AuthorityReactiveAuthorizationManager<T> hasAnyAuthority(String... authorities) {
		Assert.notNull(authorities, "authorities cannot be null");
		for (String authority : authorities) {
			Assert.notNull(authority, "authority cannot be null");
		}

		return new AuthorityReactiveAuthorizationManager<>(authorities);
	}
public static < T > AuthorityReactiveAuthorizationManager < T > hasAnyAuthority ( String ... authorities ) { Assert . notNull ( authorities , "authorities cannot be null" ) ; for ( String authority : authorities ) { Assert . notNull ( authority , "authority cannot be null" ) ; } return new AuthorityReactiveAuthorizationManager <> ( authorities ) ; }
Creates an instance of {@link AuthorityReactiveAuthorizationManager} with the
provided authorities.

@author Robbie Martinus
@param authorities the authorities to check for
@param <T> the type of object being authorized
@return the new instance
Creates an instance of { @link AuthorityReactiveAuthorizationManager } with the provided authorities .