GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OpenXPKI::Server::API2::Plugin::tenant_handler(3) User Contributed Perl Documentation OpenXPKI::Server::API2::Plugin::tenant_handler(3)

OpenXPKI::Server::API2::Plugin::tenant_handler

Check if the given tenant can be accessed by the current session user.

Return a literal 0 or 1 weather the user is allowed. Returns undef if a tenant was given but the current user has no tenant handler set.

Parameters

"tenant" Str

Get the primary tenant based on the current session information.

If a tenant hander is defined for the current role, the handlers get_primary_tenant method is called with the content of the tenant attribute from this session.

Returns undef if the role has no tenant handler set, returns the name of the tenant if the handler can determine one. Throws an exception, if the handler can not fullfil the request.

Get the tenant owner of a certificate.

Returns the content of the system_cert_tenant attribute or undef if none is found.

Parameters

"identifier" Str - certificate identifier

Returns the content of the workflows tenant attribute or undef if none is found.

Parameters

"id" Int - workflow ID
2022-05-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.