Top Method Summary
Options Name Purpose
ChangePassword (character, character, character, character, character) Changes the Password of a user
CHARACTER GetJwtFromRedirectUrl (character) Extracts the JWT token from the redirect url
LOGICAL ValidateUser (IUserCredentials) Validates the user credentials and updates the Session Manager with the user information
LOGICAL ValidateUserAndLoginCompany (IUserCredentials, character) Validates the user credentials and updates the Session Manager with the user information based on .NET
LOGICAL ValidateUserDotNet (IUserCredentials, JsonWebToken) Validates the user credentials and updates the Session Manager with the user information based on .NET
LOGICAL ValidateUserTokenExchangeService (IUserCredentials, JsonWebToken) Validates the user credentials and updates the Session Manager with the user information based on .NET

Top Constructor Summary
Options Name Purpose
JwtAuthenticationService () Constructor for the JwtAuthenticationService class

Top Property Summary
Options Name Purpose
CHARACTER Audience
CHARACTER JwkUrl
CHARACTER OAuth2Url
CHARACTER UserNameField
Consultingwerk.Windows.JwtAuth.ValidateJwtTokenMethodEnum ValidateJwtTokenMethod


Method Detail
Top

ChangePassword (character, character, character, character, character)

Purpose: Changes the Password of a user
Notes:

Parameters:
pcUserName CHARACTER
The name of the user to change the password for
pcLoginCompanyGuid CHARACTER
The company the user belongs too
pcCurrentPassword CHARACTER
The current password
pcNewPassword CHARACTER
The new password to be set
pcNewPasswordVerified CHARACTER
The repeated new password
Top

CHARACTER GetJwtFromRedirectUrl (character)

Purpose: Extracts the JWT token from the redirect url
Notes:

Parameters:
pcRedirectUrl CHARACTER
The redirect url from successful OAuth2 authentication
Returns CHARACTER
The encoded JWT Token
Top

LOGICAL ValidateUser (IUserCredentials)

Purpose: Validates the user credentials and updates the Session Manager with
the user information
Notes:

Parameters:
poCredentials Consultingwerk.Framework.IUserCredentials
The Credentials to be validated
Returns LOGICAL
Logical value indicating if the user has been authenticated
Top

LOGICAL ValidateUserAndLoginCompany (IUserCredentials, character)

Purpose: Validates the user credentials and updates the Session Manager with
the user information based on .NET
Notes:

Parameters:
poCredentials Consultingwerk.Framework.IUserCredentials
The Credentials to be validated
pcTrustedUserName CHARACTER
The user name from the JWT
Returns LOGICAL
Logical value indicating if the user has been authenticated
Top

LOGICAL ValidateUserDotNet (IUserCredentials, JsonWebToken)

Purpose: Validates the user credentials and updates the Session Manager with
the user information based on .NET
Notes:

Parameters:
poCredentials Consultingwerk.Framework.IUserCredentials
The Credentials to be validated
poJwtToken Consultingwerk.Framework.JsonWebToken
The parsed JWT Token
Returns LOGICAL
Logical value indicating if the user has been authenticated
Top

LOGICAL ValidateUserTokenExchangeService (IUserCredentials, JsonWebToken)

Purpose: Validates the user credentials and updates the Session Manager with
the user information based on .NET
Notes:

Parameters:
poCredentials Consultingwerk.Framework.IUserCredentials
The Credentials to be validated
poJwtToken Consultingwerk.Framework.JsonWebToken
The parsed JWT Token
Returns LOGICAL
Logical value indicating if the user has been authenticated


Constructor Detail
Top

JwtAuthenticationService ()

Purpose: Constructor for the JwtAuthenticationService class
Notes:



Property Detail
Top

CHARACTER Audience


Returns CHARACTER
Top

CHARACTER JwkUrl


Returns CHARACTER
Top

CHARACTER OAuth2Url


Returns CHARACTER
Top

CHARACTER UserNameField


Returns CHARACTER
Top

Consultingwerk.Windows.JwtAuth.ValidateJwtTokenMethodEnum ValidateJwtTokenMethod


Returns Consultingwerk.Windows.JwtAuth.ValidateJwtTokenMethodEnum


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:33:14