Copyright | This file is part of the package openid-connect. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at: https://code.devalot.com/open/openid-connect No part of this package including this file may be copied modified propagated or distributed except according to the terms contained in the LICENSE file. |
---|---|
License | BSD-2-Clause |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Scope values, defined in OAuth 2.0, as used in OpenID Connect 1.0.
Documentation
A list of scope
values.
To create a scope value use the IsString
instance or one of the
helper functions such as openid
or email
.
Since: 0.1.0.0
The openid
scope.
Redundant since the openid
scope is always added to requests.
Since: 0.1.0.0
hasScope :: Scope -> Text -> Bool Source #
Test to see if the given scope includes a specific scope value.
Since: 0.1.0.0
scopeFromWords :: Words -> Scope Source #
Convert a (non-empty) list of words into a Scope
.
Since: 0.1.0.0