@UESComponent public interface OAuthAccountManager
Modifier and Type | Method and Description |
---|---|
OAuthAccountAttributes |
createAccount(java.lang.String identity,
Creates OAuth account.
|
void |
deleteAccount(java.lang.String realm,
Deletes an OAuth account.
|
OAuthAccountAttributes |
getAccountByIdentity(java.lang.String realm,
Returns OAuth account according realm and identity.
|
OAuthAccountAttributes |
getAccountByPrincipal(java.lang.String realm,
Returns OAuth account according realm and principal.
|
java.lang.String |
getProviderName(java.lang.String realm)
Return provider name for the specified realm.
|
java.util.Collection<java.lang.String> |
getSupportedOAuthRealms()
Returns collection of supported OAuth realms.
|
boolean |
isOAuthRealm(java.lang.String realm)
Determines whether is the specified realm an OAuth realm.
|
realm
- realm to be testedtrue
the realm is an OAuth realm; false
otherwiserealm
- OAuth realmidentity
- identity for which is the OAuth account createdattributes
- OAuth account attributesrealm
- OAuth realmaccountId
- OAuth account Idrealm
- OAuth realmidentity
- identitynull
if no OAuth account for the realm and identity existrealm
- OAuth realmprincipal
- principalnull
if no OAuth account for the realm and principal exist