identity-platform-login-ui-operator

Identity Platform Login Ui Operator

Channel Revision Published Runs on
latest/stable 166 20 Jan 2025
Ubuntu 22.04
latest/edge 196 17 Nov 2025
Ubuntu 22.04
istio/edge 150 12 Dec 2024
Ubuntu 22.04
0.999/edge 47 06 Sep 2023
Ubuntu 22.04
0.5/edge 197 05 Dec 2025
Ubuntu 22.04
0.4/edge 193 13 Nov 2025
Ubuntu 22.04
0.3/edge 190 01 May 2025
Ubuntu 22.04
0.2/stable 90 26 Jun 2024
Ubuntu 22.04
0.2/edge 90 04 Jun 2024
Ubuntu 22.04
0.1/edge 78 01 Dec 2023
Ubuntu 22.04
juju deploy identity-platform-login-ui-operator
Show information

Platform:

charms.identity_platform_login_ui_operator.v0.login_ui_endpoints

Interface library for sharing Identity Platform Login UI application's endpoints with other charms. This library provides a Python API for both requesting and providing a public endpoints.

Getting Started

To get started using the library, you need to fetch the library using charmcraft.

cd some-charm
charmcraft fetch-lib charms.identity_platform_login_ui.v0.login_ui_endpoints

To use the library from the requirer side: In the metadata.yaml of the charm, add the following:

requires:
  ui-endpoints-info:
    interface: login_ui_endpoints
    limit: 1

Then, to initialise the library:

from charms.identity_platform_login_ui.v0.login_ui_endpoints import (
    LoginUIEndpointsRelationError,
    LoginUIEndpointsRequirer,
)
Class SomeCharm(CharmBase):
    def __init__(self, *args):
        self.login_ui_endpoints_relation = LoginUIEndpointsRequirer(self)
        self.framework.observe(self.on.some_event_emitted, self.some_event_function)
    def some_event_function():
        # fetch the relation info
        try:
            login_ui_endpoints = self.login_ui_endpoints_relation.get_login_ui_endpoints()
        except LoginUIEndpointsRelationError as error:
            ...

class LoginUIProviderData

class LoginUIEndpointsRelationReadyEvent

Description

Event to notify the charm that the relation is ready. None

class LoginUIEndpointsProviderEvents

Description

Event descriptor for events raised by LoginUIEndpointsProvider. None

class LoginUIEndpointsProvider

Description

Provider side of the endpoint-info relation. None

Methods

LoginUIEndpointsProvider. __init__( self , charm: CharmBase , relation_name: str )

LoginUIEndpointsProvider. send_endpoints_relation_data( self , data: LoginUIProviderData )

Description

Updates relation with endpoint info. None

class LoginUIEndpointsRelationError

Description

Base class for the relation exceptions. None

class LoginUIEndpointsConflictError

Description

Raised when we got the same uri multiple times. None

Methods

LoginUIEndpointsConflictError. __init__( self )

class LoginUIEndpointsRequirer

Description

Requirer side of the ui-endpoint-info relation. None

Methods

LoginUIEndpointsRequirer. __init__( self , charm: CharmBase , relation_name: str )

LoginUIEndpointsRequirer. relations( self )

Description

The list of Relation instances associated with this relation_name. None

LoginUIEndpointsRequirer. get_login_ui_endpoints( self , relation_id )

Description

Get the Identity Platform Login UI endpoints. None