Programmatically attach the Identity Button behavior to a merchant's custom button element.
Timings
attach
method the ready
event is triggered after the button event handlers
were attached to the custom button and openid configuration was fetched.Programmatically adds a button to the DOM tree, inside the given container element.
Timings
mount
method the ready
event is triggered after the button was added to DOM
and openid configuration was fetched.The ready
event can be used to load in data asynchronously,
it is triggered when the button was mounted or attached
and openid configuration was fetched successfully.
Button click event handler, triggered when the consumer clicks on an Identity Button.
Interface to the Identity Button interface.