Safe Haskell | None |
---|---|
Language | Haskell2010 |
The Authorisation Object part of the swagger specification. For construction please consider using Data.Swagger.Build.Authorisation.
- data Authorisation
- = BasicAuth
- | ApiKey {
- passAs :: PassMethod
- keyname :: Text
- | OAuth2 {
- scopes :: Maybe [Scope]
- grantTypes :: GrantTypes
- data PassMethod
- data Scope = Scope {
- scope :: Text
- description :: Maybe Text
- data GrantTypes = GrantTypes {}
- data ImplicitGrant = ImplicitGrant {}
- newtype LoginEndpoint = LoginEndpoint {}
- data AuthCode = AuthCode {}
- data TokenRequestEndpoint = TokenRequestEndpoint {}
- data TokenEndpoint = TokenEndpoint {}
Documentation
data Authorisation Source
BasicAuth | |
ApiKey | |
| |
OAuth2 | |
|
Cf. Scope Object
data GrantTypes Source
data ImplicitGrant Source
Cf. Implicit Object