Liquit.GetSources
  • 12 Dec 2023
  • 1 Minute to read
  • Dark
    Light
  • PDF

Liquit.GetSources

  • Dark
    Light
  • PDF

Article summary

The Liquit.GetSources function allows you to retrieve the identity sources known in the Liquit Workspace, as well as to determine the authentication method required by them.

Request parameters

NameDescription
descriptionThe description provided for the identity source.
displaynameThe name of the identity source which is displayed to the user.
hiddenThis identity source is not listed as a selectable option but can be used to log in.
idThe id of the identity source.
methodsThe methods available for the identity source
  • Federated - if this method is available, the Liquit.SSO function can be used to authenticate to this identity source.
  • Login - If this method is available, the Liquit.Login function can be used to authenticate against this identity source.

Example

Liquit.GetSources(
    (result ) => {
    
        //The result parameter will contain the identity source information.
        console.log(result);
        
    }
);

Was this article helpful?

What's Next