vibeauth.router.oauth

Undocumented in source.

Members

Classes

OAuth2
class OAuth2

OAuth2 autenticator

PasswordGrantAccess
class PasswordGrantAccess

Grant user access based on username and password strings

RefreshTokenGrantAccess
class RefreshTokenGrantAccess

Grant user access based on a refresh token

UnknownGrantAccess
class UnknownGrantAccess

Handle errors during token generation

Functions

getAuthData
IGrantAccess getAuthData(HTTPServerRequest req)

Get the right access generator

testRouter
auto testRouter(bool requireLogin)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

IGrantAccess
interface IGrantAccess

Structs

AuthData
struct AuthData

Struct used for user authentication

OAuth2Configuration
struct OAuth2Configuration

OAuth2 comfiguration

Variables

auth
OAuth2 auth;
Undocumented in source.
bearerToken
Token bearerToken;
Undocumented in source.
client
Client client;
Undocumented in source.
clientCollection
ClientCollection clientCollection;
Undocumented in source.
collection
UserMemmoryCollection collection;
Undocumented in source.
refreshToken
Token refreshToken;
Undocumented in source.
user
User user;
Undocumented in source.

Meta