GrantType enum
OAuth 2.0 grant types
Values
-
Authorization code grant (most common for SMART on FHIR)
const GrantType('authorization_code') - clientCredentials → const GrantType
-
Client credentials grant (for backend services)
const GrantType('client_credentials') - refreshToken → const GrantType
-
Refresh token grant
const GrantType('refresh_token') - jwtBearer → const GrantType
-
JWT bearer grant (SMART Backend Services)
const GrantType('urn:ietf:params:oauth:grant-type:jwt-bearer')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The
grant_typewire value sent to the token endpoint (e.g.authorization_code).final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited