Aracılığıyla paylaş


JsonWebToken.Create Yöntem (String, String, DateTime, DateTime, IEnumerable<Claim>, SigningCredentials)

Ad alanı:  Microsoft.VisualStudio.Services.WebApi.Jwt
Derleme:  Microsoft.VisualStudio.Services.WebApi (Microsoft.VisualStudio.Services.WebApi.dll içinde)

Sözdizimi

'Bildirim
Public Shared Function Create ( _
    issuer As String, _
    audience As String, _
    validFrom As DateTime, _
    validTo As DateTime, _
    additionalClaims As IEnumerable(Of Claim), _
    credentials As SigningCredentials _
) As JsonWebToken
public static JsonWebToken Create(
    string issuer,
    string audience,
    DateTime validFrom,
    DateTime validTo,
    IEnumerable<Claim> additionalClaims,
    SigningCredentials credentials
)

Parametreler

Dönüş Değeri

Tür: Microsoft.VisualStudio.Services.WebApi.Jwt.JsonWebToken

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

JsonWebToken Sınıf

Create Fazla Yük

Microsoft.VisualStudio.Services.WebApi.Jwt Ad Alanı