Identity Providers

Introduction

OneginiIdentityProvider interface allows you to take control over of user registration possibilities offered by the Token Server. The interface is used to specify which identity provider should be used during user registration. Identity providers can be created in the Token Server -> Configuration -> Identity Providers.

OneginiIdentityProvider interface

public interface OneginiIdentityProvider {

  /**
   * @return Unique Onegini Identity Provider ID
   */
  String getId();

  /**
   * @return Name of the Onegini Identity Provider that can be displayed to the user.
   */
  String getName();
}

The OneginiIdentityProvider interface presents the following methods:

  • getId() - this method should be used to distinguish different identity providers. The ID is set in the Identifier field of the Identity provider configuration.
  • getName() - return the name of the identity provider. The Name is set in the Name field of the Identity provider configuration.