共用方式為


GrantType type

定義 GrantType 的值。
KnownGrantType 可以與 GrantType 交換使用,此列舉包含服務支援的已知值。

服務支援的已知值

authorizationCode:授權碼授與流程,如 https://tools.ietf.org/html/rfc6749#section-4.1所述。
隱含:隱含程序代碼授與流程,如 https://tools.ietf.org/html/rfc6749#section-4.2所述。
resourceOwnerPassword:資源擁有者密碼授與流程,如 https://tools.ietf.org/html/rfc6749#section-4.3所述。
clientCredentials:客戶端認證授與流程,如 https://tools.ietf.org/html/rfc6749#section-4.4所述。

type GrantType = string