GrantType Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum - com.
microsoft. azure. management. apimanagement. v2019_01_01.GrantType
- com.
- com.
public final class GrantType
extends com.microsoft.rest.ExpandableStringEnum<GrantType>
Defines values for GrantType.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Grant |
AUTHORIZATION_CODE
Static value authorization |
static final
Grant |
CLIENT_CREDENTIALS
Static value client |
static final
Grant |
IMPLICIT
Static value implicit for Grant |
static final
Grant |
RESOURCE_OWNER_PASSWORD
Static value resource |
Constructor Summary
Constructor | Description | |
---|---|---|
GrantType() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Grant |
fromString(String name)
Creates or finds a Grant |
static
java.util.Collection<Grant |
values() |
Methods inherited from com.microsoft.rest.ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AUTHORIZATION_CODE
public static final GrantType AUTHORIZATION_CODE
Static value authorizationCode for GrantType.
CLIENT_CREDENTIALS
public static final GrantType CLIENT_CREDENTIALS
Static value clientCredentials for GrantType.
IMPLICIT
public static final GrantType IMPLICIT
Static value implicit for GrantType.
RESOURCE_OWNER_PASSWORD
public static final GrantType RESOURCE_OWNER_PASSWORD
Static value resourceOwnerPassword for GrantType.
Constructor Details
GrantType
public GrantType()
Method Details
fromString
public static GrantType fromString(String name)
Creates or finds a GrantType from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for