gandalf v0.2.0 API Reference

Modules

Gandalf worker for OAuth2 provider implementation

A behaviour for all auth strategy modules called by other gandalf modules

Gandalf Strategy implements behaviour Gandalf.Strategy to check ‘header’ based authentications to find resource owner

Gandalf Strategy implements behaviour Gandalf.Strategy to check query params based authencations to find resource owner

Gandalf Strategy implements behaviour Gandalf.Strategy to check ‘session’ based authencations to find resource owner

A behaviour for all authentications modules called by other gandalf modules

Basic authentication helper module, implements Gandalf.Authentication behaviour

Bearer authentication helper module, implements Gandalf.Authentication behaviour

Bearer authencation helper module, implements Gandalf.Authentication behaviour

Base token authentication helper, implements Gandalf.Authentication behaviour. Differently from Bearer or Session, this module is a generic helper module. It enables to match with any token type from ‘token store(Gandalf.Token)’

App Authorization Policy module

A behaviour for all grant type modules called by other gandalf modules

AuthorizationCode grant type for OAuth2 Authorization Server

Base module for OAuth2 grant types

ClientCredentials grant type for OAuth2 Authorization Server

Password grant type for OAuth2 Authorization Server

RefreshToken grant type for OAuth2 Authorization Server

Gandalf helper to check authentications with scopes and returns resouce owner

Installed apps

OAuth2 client

OAuth2 token store

OAuth2 resource owner

OAuth2 authorization strategy router

Gandalf plug implementation to check authentications and to set resouce owner

Gandalf plug implementation to refute authencated users to access resources

A behaviour for all renderer modules called by other gandalf modules

An implementation for Gandalf.Rederer to render Gandalf errors in RestAPI format

Gandalf Repo

Crypt utilities

List utilities

String utilities

Exceptions

SuspiciousActivity exception type