pub type GrantType { AuthorizationCode ClientCredentials RefreshToken DeviceCode Implicit }
AuthorizationCode
ClientCredentials
RefreshToken
DeviceCode
Implicit
pub fn from_string(str: String) -> Result(GrantType, Nil)
pub fn to_string(grant_type: GrantType) -> String