public interface OAuthConsumerRegistration
| Modifier and Type | Method and Description |
|---|---|
OAuthConsumer |
registerConsumer(String consumerKey,
String displayName,
String connectURI)
Creates a new OAuth Consumer
|
void |
registerConsumerPermissions(String consumerKey,
String[] permissions)
Registers Consumer Permissions
|
void |
registerConsumerScopes(String consumerKey,
String[] scopes)
Registers Consumer Scopes
|
OAuthConsumer registerConsumer(String consumerKey, String displayName, String connectURI) throws OAuthException
consumerKey - the Consumer key.displayName - display nameconnectURI - uriOAuthConsumerOAuthException - thrown if Consumer can not be registered.void registerConsumerScopes(String consumerKey, String[] scopes) throws OAuthException
consumerKey - the Consumer key.scopes - the consumer scopesOAuthException - thrown if scopes can not be registered.void registerConsumerPermissions(String consumerKey, String[] permissions) throws OAuthException
consumerKey - the Consumer key.permissions - the consumer permissionsOAuthException - thrown if permissions can not be registered.Copyright © 2021 JBoss by Red Hat. All rights reserved.