JwtFormat.Protect Method (AuthenticationTicket)
Transforms the specified authentication ticket into a JWT.
Namespace: Microsoft.Owin.Security.Jwt
Assembly: Microsoft.Owin.Security.Jwt (in Microsoft.Owin.Security.Jwt.dll)
Syntax
public string Protect(
AuthenticationTicket data
)
public:
virtual String^ Protect(
AuthenticationTicket^ data
) sealed
abstract Protect :
data:AuthenticationTicket -> string
override Protect :
data:AuthenticationTicket -> string
Public Function Protect (
data As AuthenticationTicket
) As String
Parameters
data
Type: Microsoft.Owin.Security.AuthenticationTicketThe authentication ticket to transform into a JWT.
Return Value
Type: System.String
Returns String.
Implements
ISecureDataFormat<TData>.Protect(TData)
See Also
JwtFormat Class
Microsoft.Owin.Security.Jwt Namespace
Return to top