public class OAuthClientManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OAuthClientManager.InstallationAdapterConfig |
Modifier and Type | Field and Description |
---|---|
protected RealmModel |
realm |
Constructor and Description |
---|
OAuthClientManager(RealmModel realm) |
Modifier and Type | Method and Description |
---|---|
OAuthClientModel |
create(OAuthClientRepresentation rep) |
OAuthClientModel |
create(String name) |
UserCredentialModel |
generateSecret(OAuthClientModel app) |
OAuthClientManager.InstallationAdapterConfig |
toInstallationRepresentation(RealmModel realmModel,
OAuthClientModel model,
URI baseUri) |
static OAuthClientRepresentation |
toRepresentation(OAuthClientModel model) |
void |
update(OAuthClientRepresentation rep,
OAuthClientModel model) |
protected RealmModel realm
public OAuthClientManager(RealmModel realm)
public UserCredentialModel generateSecret(OAuthClientModel app)
public OAuthClientModel create(String name)
public OAuthClientModel create(OAuthClientRepresentation rep)
public void update(OAuthClientRepresentation rep, OAuthClientModel model)
public static OAuthClientRepresentation toRepresentation(OAuthClientModel model)
public OAuthClientManager.InstallationAdapterConfig toInstallationRepresentation(RealmModel realmModel, OAuthClientModel model, URI baseUri)
Copyright © 2014. All Rights Reserved.