hoauth2-2.14.0: Haskell OAuth2 authentication client
Safe HaskellNone
LanguageHaskell2010

Network.OAuth2.Experiment.Flows.DeviceAuthorizationRequest

Synopsis

Documentation

newtype DeviceCode Source #

Constructors

DeviceCode Text 

Instances

Instances details
FromJSON DeviceCode Source # 
Instance details

Defined in Network.OAuth2.Experiment.Flows.DeviceAuthorizationRequest

Methods

parseJSON :: Value -> Parser DeviceCode

parseJSONList :: Value -> Parser [DeviceCode]

omittedField :: Maybe DeviceCode

ToQueryParam DeviceCode Source # 
Instance details

Defined in Network.OAuth2.Experiment.Flows.DeviceAuthorizationRequest

Methods

toQueryParam :: DeviceCode -> Map Text Text Source #

conduitDeviceAuthorizationRequest :: forall {k} (m :: Type -> Type) a (i :: k). (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