NAME
Kernel::System::Auth::OIDC
DESCRIPTION
OpenID Connect authorization module, which takes particular JWT
access tokens and checks their validity.
METHODS
GetOption()
Get module options. Currently there is just one option, "PreAuth".
if ( $AuthObject->GetOption( What => 'PreAuth' ) ) {
print "No login screen is needed. Authentication is based on an external authority!";
}
Run()
Execute the different modules from the sysconfig setting 'AuthPostAuthModule'.
my $Result = $PostAuthObject->Run(
AccessToken => 'eyJhbGciOiJSUzI1NiIsInR5cCIg[...]',
);
returns 1 on valid access token and '' on invalid.