This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
We were not able to find the expected elm-package.json file at this tag.
Tag 2.0.1
Committed At 2018-08-26 01:58:19 UTC

Modules

    README

    elm-auth0-urlparser

    Help function to create an UrlParser of Auth0 token callback.

    Recommend to use this library with [kkpoon/elm-auth0](https://github.com/kkpoon/elm-auth0).

    Example

    In your routing module...

    import UrlParser exposing (..)
    import Auth0.UrlParser
        exposing
            ( Auth0CallbackInfo
            , Auth0CallbackError
            , accessTokenUrlParser
            , unauthorizedUrlParser
            )
    
    type Route
        = AccessTokenRoute Auth0CallbackInfo
        | UnauthorizedRoute Auth0CallbackError
        | SomeOtherRoute
    
    route : Parser (Route -> a) a
    route =
        oneOf
            [ map AccessTokenRoute accessTokenUrlParser
            , map UnauthorizedRoute unauthorizedUrlParser
            , map SomeOtherRoute (s "others")
            ]