# `Sake.Auth.RouterPlug`
[🔗](https://github.com/hattoriai/sake/blob/v0.4.3/lib/sake/auth/router_plug.ex#L1)

The token, registration, revocation, device authorization and pushed
authorization request endpoints, and with `openid:` the JWKS and
userinfo endpoints, as one Plug router for hosts without Phoenix:

    forward "/oauth", to: Sake.Auth.RouterPlug

Mount `Sake.Auth.Authorize` yourself, behind your session and login
plugs, at `/oauth/authorize`, and with `device:`
`Sake.Auth.DeviceVerification` the same way, at `/oauth/device`.

# `call`

# `init`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
