NAME

Catalyst::Plugin::OpenIDConnect::Context - OIDC provider context object

DESCRIPTION

Context object passed to controllers for accessing OIDC functionality.

ATTRIBUTES

catalyst

The Catalyst application instance.

METHODS

jwt()

Returns the JWT handler instance.

store()

Returns the state store instance.

config()

Returns the OIDC configuration.

get_client($client_id)

Retrieves a client configuration by client ID.

get_user_claims($user)

Extracts user claims based on the configured user_claims mapping.

The user parameter can be a hash reference or an object with accessor methods.

get_discovery()

Returns the OpenID Connect provider configuration document.

AUTHOR

Tim F. Rayner

LICENSE

This library is free software; you can redistribute it and/or modify it under the terms of The Artistic License 2.0.