| 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/sthenauth/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 | None |
| Language | Haskell2010 |
OpenID.Connect.Scope
Contents
Description
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
Instances
| Show Scope Source # | |
| IsString Scope Source # | |
Defined in OpenID.Connect.Scope Methods fromString :: String -> Scope # | |
| Generic Scope Source # | |
| Semigroup Scope Source # | |
| ToJSON Scope Source # | |
Defined in OpenID.Connect.Scope | |
| FromJSON Scope Source # | |
| type Rep Scope Source # | |
Defined in OpenID.Connect.Scope | |
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