| Package | Description |
|---|---|
| org.orienteer.users.component |
Package which contains Wicket components for 'orienteer-users' module
|
| org.orienteer.users.model |
Models package for 'Orienteer Users' module
|
| org.orienteer.users.repository |
Contains repositories for easy work with database
|
| org.orienteer.users.service |
Services package for 'orienteer-users' module
|
| org.orienteer.users.service.impl |
Contains implementation for service interfaces
|
| Modifier and Type | Method and Description |
|---|---|
protected OAuth2ServiceContext |
SocialNetworkPanel.createOAuth2ServiceContext(OAuth2Service service) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SocialNetworkPanel.onSocialImageClick(org.apache.wicket.ajax.AjaxRequestTarget target,
org.apache.wicket.model.IModel<OAuth2Service> model)
Calls when user clicks on social image for login user.
|
| Constructor and Description |
|---|
OUsersLoginPanel(String id,
org.apache.wicket.model.IModel<List<OAuth2Service>> services) |
SocialNetworkPanel(String id,
String titleKey,
org.apache.wicket.model.IModel<List<OAuth2Service>> model) |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Service |
OUserSocialNetwork.getService() |
OAuth2Service |
OAuth2ServiceContext.getService() |
OAuth2Service |
OAuth2Service.setActive(boolean active) |
OAuth2Service |
OAuth2Service.setApiKey(String key) |
OAuth2Service |
OAuth2Service.setApiSecret(String secret) |
OAuth2Service |
OAuth2Service.setProvider(IOAuth2Provider provider) |
| Modifier and Type | Method and Description |
|---|---|
OUserSocialNetwork |
OUserSocialNetwork.setService(OAuth2Service service) |
OAuth2ServiceContext |
OAuth2ServiceContext.setService(OAuth2Service service) |
| Modifier and Type | Method and Description |
|---|---|
static Optional<OAuth2Service> |
OAuth2Repository.getOAuth2ServiceByProvider(com.orientechnologies.orient.core.db.document.ODatabaseDocument db,
OAuth2Provider provider,
boolean active) |
static Optional<OAuth2Service> |
OAuth2Repository.getOAuth2ServiceByProvider(com.orientechnologies.orient.core.db.document.ODatabaseDocument db,
String provider,
boolean active) |
static List<OAuth2Service> |
OAuth2Repository.getOAuth2Services() |
static List<OAuth2Service> |
OAuth2Repository.getOAuth2Services(boolean active) |
static List<OAuth2Service> |
OAuth2Repository.getOAuth2Services(com.orientechnologies.orient.core.db.document.ODatabaseDocument db) |
static List<OAuth2Service> |
OAuth2Repository.getOAuth2Services(com.orientechnologies.orient.core.db.document.ODatabaseDocument db,
boolean active) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IOAuth2Service.authorize(OAuth2Service service,
String code)
Authorize user by given service and code
|
boolean |
IOAuth2Service.register(OAuth2Service service,
String code)
Register user by given service and code
|
OAuth2ServiceContext |
IOAuth2Service.requestAuthorizationUrl(OAuth2Service service,
String secretState)
Request authorization url
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultOAuth2ServiceImpl.authorize(OAuth2Service service,
String code) |
boolean |
DefaultOAuth2ServiceImpl.register(OAuth2Service service,
String code) |
OAuth2ServiceContext |
DefaultOAuth2ServiceImpl.requestAuthorizationUrl(OAuth2Service service,
String secretState) |
Copyright © 2020. All rights reserved.