JwtTokenBuilder.WithSubject method

Sets the subject (‘sub’ claim) of the JWT token.

public JwtTokenBuilder WithSubject(string sub)
parameter description
sub The subject to set.

Return Value

The current JwtTokenBuilder instance.

See Also