hoauth2-providers-0.1: OAuth2 Identity Providers
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.OAuth2.Provider.Okta

Synopsis

Documentation

data Okta Source #

Constructors

Okta 

Instances

Instances details
Show Okta Source # 
Instance details

Defined in Network.OAuth2.Provider.Okta

Methods

showsPrec :: Int -> Okta -> ShowS #

show :: Okta -> String #

showList :: [Okta] -> ShowS #

Eq Okta Source # 
Instance details

Defined in Network.OAuth2.Provider.Okta

Methods

(==) :: Okta -> Okta -> Bool #

(/=) :: Okta -> Okta -> Bool #

type IdpUserInfo Okta Source # 
Instance details

Defined in Network.OAuth2.Provider.Okta

mkOktaIdp Source #

Arguments

:: MonadIO m 
=> Text

Full domain with no http protocol. e.g. foo.okta.com

-> ExceptT Text m (Idp Okta) 

data OktaUser Source #

https://developer.okta.com/docs/reference/api/oidc/#request-parameters Okta Org AS doesn't support consent Okta Custom AS does support consent via config (what scope shall prompt consent)

Constructors

OktaUser 

Instances

Instances details
FromJSON OktaUser Source # 
Instance details

Defined in Network.OAuth2.Provider.Okta

Generic OktaUser Source # 
Instance details

Defined in Network.OAuth2.Provider.Okta

Associated Types

type Rep OktaUser :: Type -> Type #

Methods

from :: OktaUser -> Rep OktaUser x #

to :: Rep OktaUser x -> OktaUser #

Show OktaUser Source # 
Instance details

Defined in Network.OAuth2.Provider.Okta

type Rep OktaUser Source # 
Instance details

Defined in Network.OAuth2.Provider.Okta

type Rep OktaUser = D1 ('MetaData "OktaUser" "Network.OAuth2.Provider.Okta" "hoauth2-providers-0.1-9gjsI0wLB70AuFkhCq8AT2" 'False) (C1 ('MetaCons "OktaUser" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "preferredUsername") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))