wire-api-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Wire.API.Routes.Public.Spar

Synopsis

Documentation

type SparAPI = ("sso" :> APISSO) :<|> (("identity-providers" :> APIIDP) :<|> (("scim" :> APIScim) :<|> (OmitDocs :> InternalAPI))) Source #

type DeprecateSSOAPIV1 = Description "DEPRECATED! use /sso/metadata/:tid instead! Details: https://docs.wire.com/understand/single-sign-on/trouble-shooting.html#can-i-use-the-same-sso-login-code-for-multiple-teams" Source #

type APISSO = (DeprecateSSOAPIV1 :> (Deprecated :> ("metadata" :> APIMeta))) :<|> (("metadata" :> (Capture "team" TeamId :> APIMeta)) :<|> (("initiate-login" :> APIAuthReqPrecheck) :<|> (("initiate-login" :> APIAuthReq) :<|> (APIAuthRespLegacy :<|> (APIAuthResp :<|> ("settings" :> SsoSettingsGet)))))) Source #

type CheckOK = Verb 'HEAD 200 Source #

type APIAuthReqPrecheck = QueryParam "success_redirect" URI :> (QueryParam "error_redirect" URI :> (Capture "idp" IdPId :> CheckOK '[PlainText] NoContent)) Source #

type APIAuthReq = QueryParam "success_redirect" URI :> (QueryParam "error_redirect" URI :> (Capture "idp" IdPId :> Get '[HTML] (FormRedirect AuthnRequest))) Source #

type IdpCreate = ReqBodyCustomError '[RawXML, JSON] "wai-error" IdPMetadataInfo :> (QueryParam' '[Optional, Strict] "replaces" IdPId :> (QueryParam' '[Optional, Strict] "api_version" WireIdPAPIVersion :> (QueryParam' '[Optional, Strict] "handle" (Range 1 32 Text) :> PostCreated '[JSON] IdP))) Source #

See also: validateNewIdP, idpCreate, idpCreateXML.

data ScimSite tag route Source #

This is similar to Site, but does not include the GroupAPI, as we don't support it (we don't implement GroupDB).

Constructors

ScimSite 

Fields

Instances

Instances details
Generic (ScimSite tag route) Source # 
Instance details

Defined in Wire.API.Routes.Public.Spar

Associated Types

type Rep (ScimSite tag route) :: Type -> Type #

Methods

from :: ScimSite tag route -> Rep (ScimSite tag route) x #

to :: Rep (ScimSite tag route) x -> ScimSite tag route #

type Rep (ScimSite tag route) Source # 
Instance details

Defined in Wire.API.Routes.Public.Spar

type Rep (ScimSite tag route) = D1 ('MetaData "ScimSite" "Wire.API.Routes.Public.Spar" "wire-api-0.1.0-EbZS9CKNOfZ8BBy5DRJfXi" 'False) (C1 ('MetaCons "ScimSite" 'PrefixI 'True) (S1 ('MetaSel ('Just "config") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ToServantApi ConfigSite)) :*: S1 ('MetaSel ('Just "users") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Header "Authorization" (AuthData tag) :> ("Users" :> ToServantApi (UserSite tag)))))))