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