Hello,
I’m using New-UDAuthenticationResult inside a New-UDAuthenticationMethod to create Json web token for user connecting to my api… is there a way to control the expiration date for the token ? by default it’s 25 minutes…
And i’m a bit confused between New-UDAuthenticationResult and Grant-UDJsonWebToken …
I’m running 2.6.2 and New-UDAuthenticationResult has a -Token parameter … so i thought i could create a token with $Token = Grant-UDJsonWebToken (since you can specify an expiration date… ) and serve it like that New-UDAuthenticationResult -Token $Token… but it’s not working ! and this -Token parameter seems to not be documented ! maybe i’m wrong but i found nothing !
