| Package | Description |
|---|---|
| org.jivesoftware.openfire.auth |
Authentication and Authorization service interfaces and classes.
|
| org.jivesoftware.openfire.session | |
| org.jivesoftware.util |
Utility classes.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthToken.OneTimeAuthToken
A token that proves that a user uses an one time access token.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthToken |
AuthFactory.authenticate(String username,
String password)
Authenticates a user with a username and plain text password and returns and
AuthToken.
|
static AuthToken |
AuthFactory.checkOneTimeAccessToken(String userToken) |
static AuthToken |
AuthToken.generateAnonymousToken()
Constructs a new AuthToken that represents an authenticated, but anonymous user.
|
static AuthToken |
AuthToken.generateOneTimeToken(String token)
Constructs a new OneTimeAuthToken that represents an one time recovery user.
|
static AuthToken |
AuthToken.generateUserToken(String username)
Constructs a new AuthToken that represents an authenticated user identified by
the provider username.
|
| Modifier and Type | Field and Description |
|---|---|
protected AuthToken |
LocalClientSession.authToken
The authentication token for this session.
|
| Modifier and Type | Method and Description |
|---|---|
AuthToken |
LocalClientSession.getAuthToken()
Returns the authentication token associated with this session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LocalClientSession.setAuthToken(AuthToken auth)
Sets the new Authorization Token for this session.
|
void |
LocalClientSession.setAuthToken(AuthToken auth,
String resource)
Initialize the session with a valid authentication token and
resource name.
|
| Modifier and Type | Method and Description |
|---|---|
AuthToken |
WebManager.getAuthToken() |
Copyright © 2003–2020 Ignite Realtime. All rights reserved.