package org.apereo.cas.support.oauth; /** * The OAuth grant types (on the access token request). * * @author Jerome Leleu * @since 5.0.0 */ public enum OAuth20GrantTypes { /** * For the authorization grant type. */ AUTHORIZATION_CODE("authorization_code"), /** * For the resource owner password grant type. */ PASSWORD("password"), /** * For the refresh token grant type. */ REFRESH_TOKEN("refresh_token"); private final String type; OAuth20GrantTypes(final String type) { this.type = type; } public String getType() { return type; } }