Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype DeviceCode = DeviceCode Text
- data DeviceAuthorizationResponse = DeviceAuthorizationResponse {}
- data DeviceAuthorizationRequestParam = DeviceAuthorizationRequestParam {
- arScope :: Set Scope
- arClientId :: Maybe ClientId
- arExtraParams :: Map Text Text
- class HasOAuth2Key a => HasDeviceAuthorizationRequest a where
- conduitDeviceAuthorizationRequest :: (MonadIO m, HasDeviceAuthorizationRequest a) => IdpApplication i a -> Manager -> ExceptT ByteString m DeviceAuthorizationResponse
Documentation
newtype DeviceCode Source #
Instances
class HasOAuth2Key a => HasDeviceAuthorizationRequest a where Source #
mkDeviceAuthorizationRequestParam :: a -> DeviceAuthorizationRequestParam Source #
Create Device Authorization Request parameters https://www.rfc-editor.org/rfc/rfc8628#section-3.1
conduitDeviceAuthorizationRequest :: (MonadIO m, HasDeviceAuthorizationRequest a) => IdpApplication i a -> Manager -> ExceptT ByteString m DeviceAuthorizationResponse Source #
Makes Device Authorization Request https://www.rfc-editor.org/rfc/rfc8628#section-3.1