SqlAuthenticationToken Class

Definition

表示 AD 身份验证令牌。Represents an AD authentication token.

public ref class SqlAuthenticationToken
public class SqlAuthenticationToken
type SqlAuthenticationToken = class
Public Class SqlAuthenticationToken
Inheritance
SqlAuthenticationToken

Constructors

SqlAuthenticationToken(String, DateTimeOffset)

初始化 SqlAuthenticationToken 类的新实例。Initializes a new instance of the SqlAuthenticationToken class.

Properties

AccessToken

获取标记字符串。Gets the token string.

ExpiresOn

获取令牌的过期时间。Gets the token expiration time.

Methods

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

Applies to