Read-only method for retrieving an AuthUser object for use by third-party applications to authenticate via an external service (e.g. Google OAuth2) and use those as credentials with this application.
| Code | Description |
|---|---|
| 401 | Unauthorized |
| 404 | Not Found |
| Param name | Description |
|---|---|
|
auth_token required |
UUID Associated with an individual User Validations:
|
|
provider required |
Provider value from Omniauth OAuth Gem Validations:
|
|
uid required |
UID value from Omniauth OAuth Gem Validations:
|
Required payload is a JSON object with keys of [provider, uid, name, oauth_expires_at, email]. These are obtained from the Omniauth gem.
| Code | Description |
|---|---|
| 401 | Unauthorized |
| 404 | Not Found |
| Param name | Description |
|---|---|
|
auth_token required |
UUID Associated with an individual User Validations:
|
Registers (saves) and returns an unique string token
| Code | Description |
|---|---|
| 401 | Unauthorized |
| 404 | Not Found |
| Param name | Description |
|---|---|
|
auth_token required |
UUID Associated with an individual User Validations:
|
|
auth_hash optional |
AuthUser hash used to pair up the correct User Validations:
|
Returns an existing unique string token
| Code | Description |
|---|---|
| 401 | Unauthorized |
| 404 | Not Found |
| Param name | Description |
|---|---|
|
auth_token required |
UUID Associated with an individual User Validations:
|
|
auth_hash optional |
AuthUser hash used to pair up the correct User Validations:
|