Freigeben über


JsonWebToken.Create-Methode (String, String, DateTime, DateTime, IEnumerable<Claim>, JsonWebToken)

Namespace:  Microsoft.VisualStudio.Services.WebApi.Jwt
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

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

Parameter

Rückgabewert

Typ: Microsoft.VisualStudio.Services.WebApi.Jwt.JsonWebToken

.NET Framework-Sicherheit

Siehe auch

Referenz

JsonWebToken Klasse

Create-Überladung

Microsoft.VisualStudio.Services.WebApi.Jwt-Namespace