你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GrantType 结构

定义

GrantType。

public readonly struct GrantType : IEquatable<Azure.ResourceManager.ApiManagement.Models.GrantType>
type GrantType = struct
Public Structure GrantType
Implements IEquatable(Of GrantType)
继承
GrantType
实现

构造函数

GrantType(String)

初始化 GrantType 的新实例。

属性

AuthorizationCode

授权代码授予流,如所述 https://tools.ietf.org/html/rfc6749#section-4.1

ClientCredentials

客户端凭据授予流, https://tools.ietf.org/html/rfc6749#section-4.4如所述。

Implicit

隐式代码授予流,如所述 https://tools.ietf.org/html/rfc6749#section-4.2

ResourceOwnerPassword

资源所有者密码授予流,如所述 https://tools.ietf.org/html/rfc6749#section-4.3

方法

Equals(GrantType)

指示当前对象是否等于同一类型的另一个对象。

ToString()

返回此实例的完全限定类型名称。

运算符

Equality(GrantType, GrantType)

确定两个 GrantType 值是否相同。

Implicit(String to GrantType)

将字符串转换为 GrantType

Inequality(GrantType, GrantType)

确定两个 GrantType 值是否不相同。

适用于