question: public static TokenEndpointAuthMethod fromString ( String type ) { if ( type != null ) { for ( TokenEndpointAuthMethod authMethod : TokenEndpointAuthMethod . values ( ) ) { if ( type . equalsIgnoreCase ( authMethod . type ) ) { return authMethod ; } } } return null ; }
target:  Translates a string into a token endpoint auth method type.