grantType property

String? grantType
getter/setter pair

The grant types are as follows: - 'authorization_code' : an authorization code flow, i.e. exchange of authorization code for the Oauth access token

  • 'refresh_token' : a refresh token flow, i.e. obtain a new access token by providing the refresh token.

See https://www.rfc-editor.org/rfc/rfc6749#section-6

Required.

Implementation

core.String? grantType;