JwtHeader.Base64UrlEncode Method

Definition

Encodes this instance as Base64UrlEncoded JSON.

public virtual string Base64UrlEncode ();
abstract member Base64UrlEncode : unit -> string
override this.Base64UrlEncode : unit -> string
Public Overridable Function Base64UrlEncode () As String

Returns

Base64UrlEncoded JSON.

Remarks

Use System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer to customize JSON serialization.

Applies to