Documentation ¶
Overview ¶
Copyright 2018 Keydap. All rights reserved. Licensed under the Apache License, Version 2.0, see LICENSE.
Index ¶
Constants ¶
View Source
const AUTHFLOW_COOKIE string = "_afc"
the authflow cookie
View Source
const BASIC_AUTHZ_PREFIX string = "Basic "
View Source
const COOKIE_LOGIN_NAME string = "SPLCN"
View Source
const OAUTH_CODE_TTL int = 600
the number of seconds an oauth code is valid for
View Source
const OTP_LEN = 6
View Source
const PARAM_REDIRECT_TO = "redirectTo"
View Source
const SSO_COOKIE = "KSPAX" // Keydap Sparrow Auth X (X -> all the authenticated users)
Variables ¶
View Source
var API_BASE = "/v2" // NO slash at the end
View Source
var DEFAULT_SRV_CONF string = `` /* 355-byte string literal not displayed */
View Source
var FORM_URL_ENCODED_TYPE = "application/x-www-form-urlencoded"
View Source
var JSON_TYPE = "application/json; charset=UTF-8"
View Source
var OAUTH_BASE = "/oauth2" // NO slash at the end
View Source
var SAML_BASE = "/saml" // NO slash at the end
View Source
var SCIM_JSON_TYPE = "application/scim+json; charset=UTF-8"
View Source
var TENANT_COOKIE = "SD"
View Source
var TENANT_HEADER = "X-Sparrow-Domain"
Functions ¶
This section is empty.
Types ¶
type LdapSession ¶
type LogoutNameID ¶
type LogoutRequest ¶
type LogoutRequest struct { ID string `xml:",attr"` Version string `xml:",attr"` IssueInstant time.Time `xml:",attr"` Issuer string NameID LogoutNameID SessionIndex string }
this struct is used for parsing recieved logout requests
Click to show internal directories.
Click to hide internal directories.