@ovh-ux/ng-ovh-sso-auth-modal-plugin

OVH SSO module - Modal plugin

Usage no npm install needed!

<script type="module">
  import ovhUxNgOvhSsoAuthModalPlugin from 'https://cdn.skypack.dev/@ovh-ux/ng-ovh-sso-auth-modal-plugin';
</script>

README

ng-ovh-sso-auth-modal-plugin

Plugin for ng-ovh-sso-auth library.

npm version Downloads Dependencies Dev Dependencies

Install

$ yarn add @ovh-ux/ng-ovh-sso-auth-modal-plugin

Usage

It overrides the ng-ovh-sso-auth's handleSwitchSession function, to display a modal when user switch:

  • from connected to disconnected
  • from disconnected to connected
  • from connected to connected with other
import angular from 'angular';
import ngOvhSsoAuthModalPlugin from '@ovh-ux/ng-ovh-sso-auth-modal-plugin';

angular.module('myApp', [ngOvhSsoAuthModalPlugin]);

Test

$ yarn test

Related

Contributing

Always feel free to help out! Whether it's filing bugs and feature requests or working on some of the open issues, our contributing guide will help get you started.

License

BSD-3-Clause © OVH SAS