Interface IPublicCredential
- All Superinterfaces:
Principal
This interface describes public credentials added by the Equinox login
modules.
This interface should not be extended by clients.
- See Also:
- Restriction:
- This interface is not intended to be implemented by clients.
-
Method Summary
Modifier and TypeMethodDescriptionReturns user's primary role, if set.ID of the provider of this public credential.getRoles()
Returns user's roles.
-
Method Details
-
getPrimaryRole
Principal getPrimaryRole()Returns user's primary role, if set. Might returnnull
if primary role is not set.- Returns:
- user's primary role. Returns
null
if there is no primary role.
-
getRoles
Principal[] getRoles()Returns user's roles. Might returnnull
if there are no roles.- Returns:
- user's roles. Returns
null
if there are no roles.
-
getProviderID
String getProviderID()ID of the provider of this public credential.- Returns:
- provider ID
-