In this type of grant, you must supply an access token that was created by
the Elasticsearch token service. If you are activating a user profile, you
can alternatively supply a JWT (either a JWT access_token or a
JWT id_token).
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.