| Package | Description |
|---|---|
| enterprises.orbital.oauth |
| Modifier and Type | Method and Description |
|---|---|
UserAccount |
UserAccountProvider.createNewUserAccount(boolean disabled)
Create and store a new user account.
|
static UserAccount |
AuthUtil.createNewUserAccount(boolean b) |
UserAccount |
UserAccountProvider.getAccount(String uid)
Retrieve the account with the specified ID, or null if no such account exists.
|
static UserAccount |
AuthUtil.getCurrentUser(javax.servlet.http.HttpServletRequest req)
Return the currently signed in user, or null if no user is signed in.
|
UserAccount |
UserAuthSource.getOwner()
Get the user account associated with this source.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Auditor.audit(UserAccount user,
Object... info) |
UserAuthSource |
UserAccountProvider.createSource(UserAccount newUser,
String source,
String screenName,
String body)
Create and associate a new source with the given user.
|
static UserAuthSource |
AuthUtil.createSource(UserAccount newUser,
String source,
String screenName,
String body) |
UserAuthSource |
UserAccountProvider.getSource(UserAccount acct,
String source)
Retrieve the named source for the given UserAccount, or null if no such account exists.
|
void |
UserActionListener.loggedIn(UserAccount user,
UserAuthSource source)
User logged in using the specified source.
|
void |
UserActionListener.loggedOut(UserAccount user)
User logged out.
|
void |
UserAccountProvider.removeSourceIfExists(UserAccount acct,
String source)
Remove a named source from a UserAccount.
|
static void |
AuthUtil.removeSourceIfExists(UserAccount acct,
String source) |
static void |
AuthUtil.signOn(javax.servlet.http.HttpServletRequest req,
UserAccount user,
UserAuthSource source)
Mark a user as signed on unless the account is inactive, in which case we throw an error.
|
void |
UserAuthSource.updateAccount(UserAccount existing)
Change the user account this source is associated with to the given account.
|
void |
UserActionListener.userCreated(UserAccount newUser)
A new user has been created on this provider.
|
Copyright © 2016 Orbital Enterprises. All rights reserved.