public class ResourceOwner extends Object
Modifier and Type | Method and Description |
---|---|
long |
getAuthTime()
Gets the time at which the user last performed an active auth, in seconds.
|
String |
getId()
Gets the identifier of the resource owner.
|
AMIdentity |
getIdentity()
Gets the resource owner's identity.
|
String |
getName(OAuth2ProviderSettings settings)
Gets the name of the user, if possible.
|
public String getId()
public long getAuthTime()
public String getName(OAuth2ProviderSettings settings) throws ServerException
settings
- The settings for the current realm.ServerException
public AMIdentity getIdentity()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.