OAuth basically provides two different types of implicit grant. One is used by clients to directly acquire an Access token (often with
a very short lifetime) to perform different API actions. The second mode is used by server and requires a separate step to transform an
Authorization token into an actual Access token. Syncany supports both modes out of the box.
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
name - the name of the enum constant to be returned.
the enum constant with the specified name
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null