okta

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "0.1.0"

Variables

This section is empty.

Functions

func CheckResponseForError

func CheckResponseForError(resp *http.Response) error

Types

type AppLink struct {
	AppAssignmentId  string `json:"appAssignmentId,omitempty"`
	AppInstanceId    string `json:"appInstanceId,omitempty"`
	AppName          string `json:"appName,omitempty"`
	CredentialsSetup bool   `json:"credentialsSetup,omitempty"`
	Hidden           bool   `json:"hidden,omitempty"`
	Id               string `json:"id,omitempty"`
	Label            string `json:"label,omitempty"`
	LinkUrl          string `json:"linkUrl,omitempty"`
	LogoUrl          string `json:"logoUrl,omitempty"`
	SortOrder        int64  `json:"sortOrder,omitempty"`
}

type AppUser

type AppUser struct {
	Embedded        interface{}         `json:"_embedded,omitempty"`
	Links           interface{}         `json:"_links,omitempty"`
	Created         *time.Time          `json:"created,omitempty"`
	Credentials     *AppUserCredentials `json:"credentials,omitempty"`
	ExternalId      string              `json:"externalId,omitempty"`
	Id              string              `json:"id,omitempty"`
	LastSync        *time.Time          `json:"lastSync,omitempty"`
	LastUpdated     *time.Time          `json:"lastUpdated,omitempty"`
	PasswordChanged *time.Time          `json:"passwordChanged,omitempty"`
	Profile         interface{}         `json:"profile,omitempty"`
	Scope           string              `json:"scope,omitempty"`
	Status          string              `json:"status,omitempty"`
	StatusChanged   *time.Time          `json:"statusChanged,omitempty"`
	SyncState       string              `json:"syncState,omitempty"`
}

type AppUserCredentials

type AppUserCredentials struct {
	Password *AppUserPasswordCredential `json:"password,omitempty"`
	UserName string                     `json:"userName,omitempty"`
}

type AppUserPasswordCredential

type AppUserPasswordCredential struct {
	Value string `json:"value,omitempty"`
}

type AppUserResource

type AppUserResource resource

func (*AppUserResource) DeleteApplicationUser

func (m *AppUserResource) DeleteApplicationUser(appId string, userId string, qp *query.Params) (*Response, error)

func (*AppUserResource) UpdateApplicationUser

func (m *AppUserResource) UpdateApplicationUser(appId string, userId string, body AppUser, qp *query.Params) (*AppUser, *Response, error)

type Application

type Application struct {
	Embedded      interface{}               `json:"_embedded,omitempty"`
	Links         interface{}               `json:"_links,omitempty"`
	Accessibility *ApplicationAccessibility `json:"accessibility,omitempty"`
	Created       *time.Time                `json:"created,omitempty"`
	Credentials   *ApplicationCredentials   `json:"credentials,omitempty"`
	Features      []string                  `json:"features,omitempty"`
	Id            string                    `json:"id,omitempty"`
	Label         string                    `json:"label,omitempty"`
	LastUpdated   *time.Time                `json:"lastUpdated,omitempty"`
	Licensing     *ApplicationLicensing     `json:"licensing,omitempty"`
	Name          string                    `json:"name,omitempty"`
	Settings      *ApplicationSettings      `json:"settings,omitempty"`
	SignOnMode    string                    `json:"signOnMode,omitempty"`
	Status        string                    `json:"status,omitempty"`
	Visibility    *ApplicationVisibility    `json:"visibility,omitempty"`
}

type ApplicationAccessibility

type ApplicationAccessibility struct {
	ErrorRedirectUrl string `json:"errorRedirectUrl,omitempty"`
	LoginRedirectUrl string `json:"loginRedirectUrl,omitempty"`
	SelfService      bool   `json:"selfService,omitempty"`
}

type ApplicationCredentials

type ApplicationCredentials struct {
	Signing          *ApplicationCredentialsSigning          `json:"signing,omitempty"`
	UserNameTemplate *ApplicationCredentialsUsernameTemplate `json:"userNameTemplate,omitempty"`
}

type ApplicationCredentialsOAuthClient

type ApplicationCredentialsOAuthClient struct {
	AutoKeyRotation         bool   `json:"autoKeyRotation,omitempty"`
	ClientId                string `json:"client_id,omitempty"`
	ClientSecret            string `json:"client_secret,omitempty"`
	TokenEndpointAuthMethod string `json:"token_endpoint_auth_method,omitempty"`
}

type ApplicationCredentialsScheme

type ApplicationCredentialsScheme struct {
}

type ApplicationCredentialsSigning

type ApplicationCredentialsSigning struct {
	Kid          string     `json:"kid,omitempty"`
	LastRotated  *time.Time `json:"lastRotated,omitempty"`
	NextRotation *time.Time `json:"nextRotation,omitempty"`
	RotationMode string     `json:"rotationMode,omitempty"`
}

type ApplicationCredentialsUsernameTemplate

type ApplicationCredentialsUsernameTemplate struct {
	Suffix   string `json:"suffix,omitempty"`
	Template string `json:"template,omitempty"`
	Type     string `json:"type,omitempty"`
}

type ApplicationGroupAssignment

type ApplicationGroupAssignment struct {
	Embedded    interface{} `json:"_embedded,omitempty"`
	Links       interface{} `json:"_links,omitempty"`
	Id          string      `json:"id,omitempty"`
	LastUpdated *time.Time  `json:"lastUpdated,omitempty"`
	Priority    int64       `json:"priority,omitempty"`
	Profile     interface{} `json:"profile,omitempty"`
}

type ApplicationGroupAssignmentResource

type ApplicationGroupAssignmentResource resource

func (*ApplicationGroupAssignmentResource) DeleteApplicationGroupAssignment

func (m *ApplicationGroupAssignmentResource) DeleteApplicationGroupAssignment(appId string, groupId string, qp *query.Params) (*Response, error)

type ApplicationLicensing

type ApplicationLicensing struct {
	SeatCount int64 `json:"seatCount,omitempty"`
}

type ApplicationResource

type ApplicationResource resource

func (*ApplicationResource) ActivateApplication

func (m *ApplicationResource) ActivateApplication(appId string, qp *query.Params) (*Response, error)

func (*ApplicationResource) AssignUserToApplication

func (m *ApplicationResource) AssignUserToApplication(appId string, body AppUser, qp *query.Params) (*AppUser, *Response, error)

func (*ApplicationResource) CloneApplicationKey

func (m *ApplicationResource) CloneApplicationKey(appId string, keyId string, qp *query.Params) (*JsonWebKey, *Response, error)

func (*ApplicationResource) CreateApplication

func (m *ApplicationResource) CreateApplication(body Application, qp *query.Params) (*Application, *Response, error)

func (*ApplicationResource) CreateApplicationGroupAssignment

func (m *ApplicationResource) CreateApplicationGroupAssignment(appId string, groupId string, body ApplicationGroupAssignment, qp *query.Params) (*ApplicationGroupAssignment, *Response, error)

func (*ApplicationResource) DeactivateApplication

func (m *ApplicationResource) DeactivateApplication(appId string, qp *query.Params) (*Response, error)

func (*ApplicationResource) DeleteApplication

func (m *ApplicationResource) DeleteApplication(appId string, qp *query.Params) (*Response, error)

func (*ApplicationResource) DeleteApplicationGroupAssignment

func (m *ApplicationResource) DeleteApplicationGroupAssignment(appId string, groupId string, qp *query.Params) (*Response, error)

func (*ApplicationResource) DeleteApplicationUser

func (m *ApplicationResource) DeleteApplicationUser(appId string, userId string, qp *query.Params) (*Response, error)

func (*ApplicationResource) GetApplication

func (m *ApplicationResource) GetApplication(appId string, qp *query.Params) (*Application, *Response, error)

func (*ApplicationResource) GetApplicationGroupAssignment

func (m *ApplicationResource) GetApplicationGroupAssignment(appId string, groupId string, qp *query.Params) (*ApplicationGroupAssignment, *Response, error)

func (*ApplicationResource) GetApplicationKey

func (m *ApplicationResource) GetApplicationKey(appId string, keyId string, qp *query.Params) (*JsonWebKey, *Response, error)

func (*ApplicationResource) GetApplicationUser

func (m *ApplicationResource) GetApplicationUser(appId string, userId string, qp *query.Params) (*AppUser, *Response, error)

func (*ApplicationResource) GetLogs

func (m *ApplicationResource) GetLogs(qp *query.Params) ([]*LogEvent, *Response, error)

func (*ApplicationResource) ListApplicationGroupAssignments

func (m *ApplicationResource) ListApplicationGroupAssignments(appId string, qp *query.Params) ([]*ApplicationGroupAssignment, *Response, error)

func (*ApplicationResource) ListApplicationKeys

func (m *ApplicationResource) ListApplicationKeys(appId string, qp *query.Params) ([]*JsonWebKey, *Response, error)

func (*ApplicationResource) ListApplicationUsers

func (m *ApplicationResource) ListApplicationUsers(appId string, qp *query.Params) ([]*AppUser, *Response, error)

func (*ApplicationResource) ListApplications

func (m *ApplicationResource) ListApplications(qp *query.Params) ([]*Application, *Response, error)

func (*ApplicationResource) UpdateApplication

func (m *ApplicationResource) UpdateApplication(appId string, body Application, qp *query.Params) (*Application, *Response, error)

func (*ApplicationResource) UpdateApplicationUser

func (m *ApplicationResource) UpdateApplicationUser(appId string, userId string, body AppUser, qp *query.Params) (*AppUser, *Response, error)

type ApplicationSettings

type ApplicationSettings struct {
	App           *ApplicationSettingsApplication   `json:"app,omitempty"`
	Notifications *ApplicationSettingsNotifications `json:"notifications,omitempty"`
}

type ApplicationSettingsApplication

type ApplicationSettingsApplication struct {
}

type ApplicationSettingsNotifications

type ApplicationSettingsNotifications struct {
	Vpn *ApplicationSettingsNotificationsVpn `json:"vpn,omitempty"`
}

type ApplicationSettingsNotificationsVpn

type ApplicationSettingsNotificationsVpn struct {
	HelpUrl string                                      `json:"helpUrl,omitempty"`
	Message string                                      `json:"message,omitempty"`
	Network *ApplicationSettingsNotificationsVpnNetwork `json:"network,omitempty"`
}

type ApplicationSettingsNotificationsVpnNetwork

type ApplicationSettingsNotificationsVpnNetwork struct {
	Connection string   `json:"connection,omitempty"`
	Exclude    []string `json:"exclude,omitempty"`
	Include    []string `json:"include,omitempty"`
}

type ApplicationSignOnMode

type ApplicationSignOnMode struct {
}

type ApplicationVisibility

type ApplicationVisibility struct {
	AppLinks          interface{}                `json:"appLinks,omitempty"`
	AutoSubmitToolbar bool                       `json:"autoSubmitToolbar,omitempty"`
	Hide              *ApplicationVisibilityHide `json:"hide,omitempty"`
}

type ApplicationVisibilityHide

type ApplicationVisibilityHide struct {
	IOS bool `json:"iOS,omitempty"`
	Web bool `json:"web,omitempty"`
}

type AuthenticationProvider

type AuthenticationProvider struct {
	Name string `json:"name,omitempty"`
	Type string `json:"type,omitempty"`
}

type AuthenticationProviderType

type AuthenticationProviderType struct {
}

type AutoLoginApplication

type AutoLoginApplication struct {
	Credentials *SchemeApplicationCredentials `json:"credentials,omitempty"`
	Settings    *AutoLoginApplicationSettings `json:"settings,omitempty"`
}

type AutoLoginApplicationSettings

type AutoLoginApplicationSettings struct {
	SignOn *AutoLoginApplicationSettingsSignOn `json:"signOn,omitempty"`
}

type AutoLoginApplicationSettingsSignOn

type AutoLoginApplicationSettingsSignOn struct {
	LoginUrl    string `json:"loginUrl,omitempty"`
	RedirectUrl string `json:"redirectUrl,omitempty"`
}

type BasicApplicationSettings

type BasicApplicationSettings struct {
	App *BasicApplicationSettingsApplication `json:"app,omitempty"`
}

type BasicApplicationSettingsApplication

type BasicApplicationSettingsApplication struct {
	AuthURL string `json:"authURL,omitempty"`
	Url     string `json:"url,omitempty"`
}

type BasicAuthApplication

type BasicAuthApplication struct {
	Credentials *SchemeApplicationCredentials `json:"credentials,omitempty"`
	Name        string                        `json:"name,omitempty"`
	Settings    *BasicApplicationSettings     `json:"settings,omitempty"`
}

type BookmarkApplication

type BookmarkApplication struct {
	Name     string                       `json:"name,omitempty"`
	Settings *BookmarkApplicationSettings `json:"settings,omitempty"`
}

type BookmarkApplicationSettings

type BookmarkApplicationSettings struct {
	App *BookmarkApplicationSettingsApplication `json:"app,omitempty"`
}

type BookmarkApplicationSettingsApplication

type BookmarkApplicationSettingsApplication struct {
	RequestIntegration bool   `json:"requestIntegration,omitempty"`
	Url                string `json:"url,omitempty"`
}

type BrowserPluginApplication

type BrowserPluginApplication struct {
	Credentials *SchemeApplicationCredentials `json:"credentials,omitempty"`
}

type CallFactor

type CallFactor struct {
	Profile *CallFactorProfile `json:"profile,omitempty"`
}

type CallFactorProfile

type CallFactorProfile struct {
	PhoneExtension string `json:"phoneExtension,omitempty"`
	PhoneNumber    string `json:"phoneNumber,omitempty"`
}

type ChangePasswordRequest

type ChangePasswordRequest struct {
	NewPassword *PasswordCredential `json:"newPassword,omitempty"`
	OldPassword *PasswordCredential `json:"oldPassword,omitempty"`
}

type Client

type Client struct {
	Application *ApplicationResource
	Group       *GroupResource
	Session     *SessionResource
	User        *UserResource
	Factor      *FactorResource
	// contains filtered or unexported fields
}

func NewClient

func NewClient(config *Config, httpClient *http.Client, cacheManager cache.Cache) *Client

func (*Client) GetConfig

func (c *Client) GetConfig() *Config

func (*Client) GetRequestExecutor

func (c *Client) GetRequestExecutor() *RequestExecutor

type Config

type Config struct {
	Okta struct {
		Client struct {
			Cache struct {
				Enabled    bool  `yaml:"enabled" envconfig:"OKTA_CLIENT_CACHE_ENABLED"`
				DefaultTtl int32 `yaml:"defaultTtl" envconfig:"OKTA_CLIENT_CACHE_DEFAULT_TTL"`
				DefaultTti int32 `yaml:"defaultTti" envconfig:"OKTA_CLIENT_CACHE_DEFAULT_TTI"`
			} `yaml:"cache"`
			Proxy struct {
				Port     int32  `yaml:"port" envconfig:"OKTA_CLIENT_PROXY_PORT"`
				Host     string `yaml:"host" envconfig:"OKTA_CLIENT_PROXY_HOST"`
				Username string `yaml:"username" envconfig:"OKTA_CLIENT_PROXY_USERNAME"`
				Password string `yaml:"password" envconfig:"OKTA_CLIENT_PROXY_PASSWORD"`
			} `yaml:"proxy"`
			ConnectionTimeout int32  `yaml:"connectionTimeout" envconfig:"OKTA_CLIENT_CONNECTION_TIMEOUT"`
			OrgUrl            string `yaml:"orgUrl" envconfig:"OKTA_CLIENT_ORGURL"`
			Token             string `yaml:"token" envconfig:"OKTA_CLIENT_TOKEN"`
		} `yaml:"client"`
	} `yaml:"okta"`
	UserAgentExtra string
}

func NewConfig

func NewConfig() *Config

func (*Config) ReadConfigFromFile

func (c *Config) ReadConfigFromFile(location string) *Config

func (*Config) WithCache

func (c *Config) WithCache(cache bool) *Config

func (*Config) WithCacheTti

func (c *Config) WithCacheTti(i int32) *Config

func (*Config) WithCacheTtl

func (c *Config) WithCacheTtl(i int32) *Config

func (*Config) WithConnectionTimeout

func (c *Config) WithConnectionTimeout(i int32) *Config

func (*Config) WithOrgUrl

func (c *Config) WithOrgUrl(url string) *Config

func (*Config) WithProxyHost

func (c *Config) WithProxyHost(host string) *Config

func (*Config) WithProxyPassword

func (c *Config) WithProxyPassword(pass string) *Config

func (*Config) WithProxyPort

func (c *Config) WithProxyPort(i int32) *Config

func (*Config) WithProxyUsername

func (c *Config) WithProxyUsername(username string) *Config

func (*Config) WithToken

func (c *Config) WithToken(token string) *Config

func (*Config) WithUserAgentExtra

func (c *Config) WithUserAgentExtra(s string) *Config

type CreateSessionRequest

type CreateSessionRequest struct {
	SessionToken string `json:"sessionToken,omitempty"`
}

type EmailFactor

type EmailFactor struct {
	Profile *EmailFactorProfile `json:"profile,omitempty"`
}

type EmailFactorProfile

type EmailFactorProfile struct {
	Email string `json:"email,omitempty"`
}

type Error

type Error struct {
	ErrorCode    string   `json:"errorCode,omitempty"`
	ErrorSummary string   `json:"errorSummary,omitempty"`
	ErrorLink    string   `json:"errorLink,omitempty"`
	ErrorId      string   `json:"errorId,omitempty"`
	ErrorCauses  []string `json:"errorCauses,omitempty"`
}

func (*Error) Error

func (e *Error) Error() string

type Factor

type Factor struct {
	Embedded                  interface{}          `json:"_embedded,omitempty"`
	Links                     interface{}          `json:"_links,omitempty"`
	Device                    string               `json:"device,omitempty"`
	DeviceType                string               `json:"deviceType,omitempty"`
	FactorType                string               `json:"factorType,omitempty"`
	Id                        string               `json:"id,omitempty"`
	MfaStateTokenId           string               `json:"mfaStateTokenId,omitempty"`
	Profile                   *FactorProfile       `json:"profile,omitempty"`
	Provider                  string               `json:"provider,omitempty"`
	RechallengeExistingFactor bool                 `json:"rechallengeExistingFactor,omitempty"`
	SessionId                 string               `json:"sessionId,omitempty"`
	Status                    string               `json:"status,omitempty"`
	UserId                    string               `json:"userId,omitempty"`
	Verify                    *VerifyFactorRequest `json:"verify,omitempty"`
}

type FactorProfile

type FactorProfile struct {
}

type FactorProvider

type FactorProvider struct {
}

type FactorResource

type FactorResource resource

func (*FactorResource) ActivateFactor

func (m *FactorResource) ActivateFactor(userId string, factorId string, body VerifyFactorRequest, qp *query.Params) (*Factor, *Response, error)

func (*FactorResource) AddFactor

func (m *FactorResource) AddFactor(userId string, body Factor, qp *query.Params) (*Factor, *Response, error)

func (*FactorResource) DeleteFactor

func (m *FactorResource) DeleteFactor(userId string, factorId string, qp *query.Params) (*Response, error)

func (*FactorResource) GetFactor

func (m *FactorResource) GetFactor(userId string, factorId string, qp *query.Params) (*Factor, *Response, error)

func (*FactorResource) ListFactors

func (m *FactorResource) ListFactors(userId string, qp *query.Params) ([]*Factor, *Response, error)

func (*FactorResource) ListSupportedFactors

func (m *FactorResource) ListSupportedFactors(userId string, qp *query.Params) ([]*Factor, *Response, error)

func (*FactorResource) ListSupportedSecurityQuestions

func (m *FactorResource) ListSupportedSecurityQuestions(userId string, qp *query.Params) ([]*SecurityQuestion, *Response, error)

func (*FactorResource) VerifyFactor

func (m *FactorResource) VerifyFactor(userId string, factorId string, body VerifyFactorRequest, qp *query.Params) (*VerifyFactorResponse, *Response, error)

type FactorResultType

type FactorResultType struct {
}

type FactorStatus

type FactorStatus struct {
}

type FactorType

type FactorType struct {
}

type ForgotPasswordResponse

type ForgotPasswordResponse struct {
	ResetPasswordUrl string `json:"resetPasswordUrl,omitempty"`
}

type Group

type Group struct {
	Embedded              interface{}   `json:"_embedded,omitempty"`
	Links                 interface{}   `json:"_links,omitempty"`
	Created               *time.Time    `json:"created,omitempty"`
	Id                    string        `json:"id,omitempty"`
	LastMembershipUpdated *time.Time    `json:"lastMembershipUpdated,omitempty"`
	LastUpdated           *time.Time    `json:"lastUpdated,omitempty"`
	ObjectClass           []string      `json:"objectClass,omitempty"`
	Profile               *GroupProfile `json:"profile,omitempty"`
	Type                  string        `json:"type,omitempty"`
}

type GroupProfile

type GroupProfile struct {
	Description string `json:"description,omitempty"`
	Name        string `json:"name,omitempty"`
}

type GroupResource

type GroupResource resource

func (*GroupResource) ActivateRule

func (m *GroupResource) ActivateRule(ruleId string, qp *query.Params) (*Response, error)

func (*GroupResource) AddUserToGroup

func (m *GroupResource) AddUserToGroup(groupId string, userId string, qp *query.Params) (*Response, error)

func (*GroupResource) CreateGroup

func (m *GroupResource) CreateGroup(body Group, qp *query.Params) (*Group, *Response, error)

func (*GroupResource) CreateRule

func (m *GroupResource) CreateRule(body GroupRule, qp *query.Params) (*GroupRule, *Response, error)

func (*GroupResource) DeactivateRule

func (m *GroupResource) DeactivateRule(ruleId string, qp *query.Params) (*Response, error)

func (*GroupResource) DeleteGroup

func (m *GroupResource) DeleteGroup(groupId string, qp *query.Params) (*Response, error)

func (*GroupResource) DeleteRule

func (m *GroupResource) DeleteRule(ruleId string, qp *query.Params) (*Response, error)

func (*GroupResource) GetGroup

func (m *GroupResource) GetGroup(groupId string, qp *query.Params) (*Group, *Response, error)

func (*GroupResource) GetRule

func (m *GroupResource) GetRule(ruleId string, qp *query.Params) (*GroupRule, *Response, error)

func (*GroupResource) ListGroupUsers

func (m *GroupResource) ListGroupUsers(groupId string, qp *query.Params) ([]*User, *Response, error)

func (*GroupResource) ListGroups

func (m *GroupResource) ListGroups(qp *query.Params) ([]*Group, *Response, error)

func (*GroupResource) ListRules

func (m *GroupResource) ListRules(qp *query.Params) ([]*GroupRule, *Response, error)

func (*GroupResource) RemoveGroupUser

func (m *GroupResource) RemoveGroupUser(groupId string, userId string, qp *query.Params) (*Response, error)

func (*GroupResource) UpdateGroup

func (m *GroupResource) UpdateGroup(groupId string, body Group, qp *query.Params) (*Group, *Response, error)

func (*GroupResource) UpdateRule

func (m *GroupResource) UpdateRule(ruleId string, body GroupRule, qp *query.Params) (*GroupRule, *Response, error)

type GroupRule

type GroupRule struct {
	Actions     *GroupRuleAction     `json:"actions,omitempty"`
	Conditions  *GroupRuleConditions `json:"conditions,omitempty"`
	Created     *time.Time           `json:"created,omitempty"`
	Id          string               `json:"id,omitempty"`
	LastUpdated *time.Time           `json:"lastUpdated,omitempty"`
	Name        string               `json:"name,omitempty"`
	Status      string               `json:"status,omitempty"`
	Type        string               `json:"type,omitempty"`
}

type GroupRuleAction

type GroupRuleAction struct {
	AssignUserToGroups *GroupRuleGroupAssignment `json:"assignUserToGroups,omitempty"`
}

type GroupRuleConditions

type GroupRuleConditions struct {
	Expression *GroupRuleExpression      `json:"expression,omitempty"`
	People     *GroupRulePeopleCondition `json:"people,omitempty"`
}

type GroupRuleExpression

type GroupRuleExpression struct {
	Type  string `json:"type,omitempty"`
	Value string `json:"value,omitempty"`
}

type GroupRuleGroupAssignment

type GroupRuleGroupAssignment struct {
	GroupIds []string `json:"groupIds,omitempty"`
}

type GroupRuleGroupCondition

type GroupRuleGroupCondition struct {
	Exclude []string `json:"exclude,omitempty"`
	Include []string `json:"include,omitempty"`
}

type GroupRulePeopleCondition

type GroupRulePeopleCondition struct {
	Groups *GroupRuleGroupCondition `json:"groups,omitempty"`
	Users  *GroupRuleUserCondition  `json:"users,omitempty"`
}

type GroupRuleResource

type GroupRuleResource resource

func (*GroupRuleResource) DeleteRule

func (m *GroupRuleResource) DeleteRule(ruleId string, qp *query.Params) (*Response, error)

func (*GroupRuleResource) UpdateRule

func (m *GroupRuleResource) UpdateRule(ruleId string, body GroupRule, qp *query.Params) (*GroupRule, *Response, error)

type GroupRuleStatus

type GroupRuleStatus struct {
}

type GroupRuleUserCondition

type GroupRuleUserCondition struct {
	Exclude []string `json:"exclude,omitempty"`
	Include []string `json:"include,omitempty"`
}

type HardwareFactor

type HardwareFactor struct {
	Profile *HardwareFactorProfile `json:"profile,omitempty"`
}

type HardwareFactorProfile

type HardwareFactorProfile struct {
	CredentialId string `json:"credentialId,omitempty"`
}

type JsonWebKey

type JsonWebKey struct {
	Alg         string     `json:"alg,omitempty"`
	Created     *time.Time `json:"created,omitempty"`
	E           string     `json:"e,omitempty"`
	ExpiresAt   *time.Time `json:"expiresAt,omitempty"`
	KeyOps      []string   `json:"key_ops,omitempty"`
	Kid         string     `json:"kid,omitempty"`
	Kty         string     `json:"kty,omitempty"`
	LastUpdated *time.Time `json:"lastUpdated,omitempty"`
	N           string     `json:"n,omitempty"`
	Status      string     `json:"status,omitempty"`
	Use         string     `json:"use,omitempty"`
	X5c         []string   `json:"x5c,omitempty"`
	X5t         string     `json:"x5t,omitempty"`
	X5tS256     string     `json:"x5t#S256,omitempty"`
	X5u         string     `json:"x5u,omitempty"`
}

type LogActor

type LogActor struct {
	AlternateId string      `json:"alternateId,omitempty"`
	Detail      interface{} `json:"detail,omitempty"`
	DisplayName string      `json:"displayName,omitempty"`
	Id          string      `json:"id,omitempty"`
	Type        string      `json:"type,omitempty"`
}

type LogAuthenticationContext

type LogAuthenticationContext struct {
	AuthenticationProvider string     `json:"authenticationProvider,omitempty"`
	AuthenticationStep     int64      `json:"authenticationStep,omitempty"`
	CredentialProvider     []string   `json:"credentialProvider,omitempty"`
	CredentialType         []string   `json:"credentialType,omitempty"`
	ExternalSessionId      string     `json:"externalSessionId,omitempty"`
	Interface              string     `json:"interface,omitempty"`
	Issuer                 *LogIssuer `json:"issuer,omitempty"`
}

type LogAuthenticationProvider

type LogAuthenticationProvider struct {
}

type LogClient

type LogClient struct {
	Device              string                  `json:"device,omitempty"`
	GeographicalContext *LogGeographicalContext `json:"geographicalContext,omitempty"`
	Id                  string                  `json:"id,omitempty"`
	IpAddress           string                  `json:"ipAddress,omitempty"`
	UserAgent           *LogUserAgent           `json:"userAgent,omitempty"`
	Zone                string                  `json:"zone,omitempty"`
}

type LogCredentialProvider

type LogCredentialProvider struct {
}

type LogCredentialType

type LogCredentialType struct {
}

type LogDebugContext

type LogDebugContext struct {
	DebugData interface{} `json:"debugData,omitempty"`
}

type LogEvent

type LogEvent struct {
	Actor                 *LogActor                 `json:"actor,omitempty"`
	AuthenticationContext *LogAuthenticationContext `json:"authenticationContext,omitempty"`
	Client                *LogClient                `json:"client,omitempty"`
	DebugContext          *LogDebugContext          `json:"debugContext,omitempty"`
	DisplayMessage        string                    `json:"displayMessage,omitempty"`
	EventType             string                    `json:"eventType,omitempty"`
	LegacyEventType       string                    `json:"legacyEventType,omitempty"`
	Outcome               *LogOutcome               `json:"outcome,omitempty"`
	Published             *time.Time                `json:"published,omitempty"`
	Request               *LogRequest               `json:"request,omitempty"`
	SecurityContext       *LogSecurityContext       `json:"securityContext,omitempty"`
	Severity              string                    `json:"severity,omitempty"`
	Target                []string                  `json:"target,omitempty"`
	Transaction           *LogTransaction           `json:"transaction,omitempty"`
	Uuid                  string                    `json:"uuid,omitempty"`
	Version               string                    `json:"version,omitempty"`
}

type LogGeographicalContext

type LogGeographicalContext struct {
	City        string          `json:"city,omitempty"`
	Country     string          `json:"country,omitempty"`
	Geolocation *LogGeolocation `json:"geolocation,omitempty"`
	PostalCode  string          `json:"postalCode,omitempty"`
	State       string          `json:"state,omitempty"`
}

type LogGeolocation

type LogGeolocation struct {
	Lat float64 `json:"lat,omitempty"`
	Lon float64 `json:"lon,omitempty"`
}

type LogIpAddress

type LogIpAddress struct {
	GeographicalContext *LogGeographicalContext `json:"geographicalContext,omitempty"`
	Ip                  string                  `json:"ip,omitempty"`
	Source              string                  `json:"source,omitempty"`
	Version             string                  `json:"version,omitempty"`
}

type LogIssuer

type LogIssuer struct {
	Id   string `json:"id,omitempty"`
	Type string `json:"type,omitempty"`
}

type LogOutcome

type LogOutcome struct {
	Reason string `json:"reason,omitempty"`
	Result string `json:"result,omitempty"`
}

type LogRequest

type LogRequest struct {
	IpChain []string `json:"ipChain,omitempty"`
}

type LogSecurityContext

type LogSecurityContext struct {
	AsNumber int64  `json:"asNumber,omitempty"`
	AsOrg    string `json:"asOrg,omitempty"`
	Domain   string `json:"domain,omitempty"`
	IsProxy  bool   `json:"isProxy,omitempty"`
	Isp      string `json:"isp,omitempty"`
}

type LogSeverity

type LogSeverity struct {
}

type LogTarget

type LogTarget struct {
	AlternateId string      `json:"alternateId,omitempty"`
	DetailEntry interface{} `json:"detailEntry,omitempty"`
	DisplayName string      `json:"displayName,omitempty"`
	Id          string      `json:"id,omitempty"`
	Type        string      `json:"type,omitempty"`
}

type LogTransaction

type LogTransaction struct {
	Detail interface{} `json:"detail,omitempty"`
	Id     string      `json:"id,omitempty"`
	Type   string      `json:"type,omitempty"`
}

type LogUserAgent

type LogUserAgent struct {
	Browser      string `json:"browser,omitempty"`
	Os           string `json:"os,omitempty"`
	RawUserAgent string `json:"rawUserAgent,omitempty"`
}

type OAuthApplicationCredentials

type OAuthApplicationCredentials struct {
	OauthClient *ApplicationCredentialsOAuthClient `json:"oauthClient,omitempty"`
}

type OAuthEndpointAuthenticationMethod

type OAuthEndpointAuthenticationMethod struct {
}

type OAuthGrantType

type OAuthGrantType struct {
}

type OAuthResponseType

type OAuthResponseType struct {
}

type OpenIdConnectApplication

type OpenIdConnectApplication struct {
	Credentials *OAuthApplicationCredentials      `json:"credentials,omitempty"`
	Name        string                            `json:"name,omitempty"`
	Settings    *OpenIdConnectApplicationSettings `json:"settings,omitempty"`
}

type OpenIdConnectApplicationConsentMethod

type OpenIdConnectApplicationConsentMethod struct {
}

type OpenIdConnectApplicationSettings

type OpenIdConnectApplicationSettings struct {
	OauthClient *OpenIdConnectApplicationSettingsClient `json:"oauthClient,omitempty"`
}

type OpenIdConnectApplicationSettingsClient

type OpenIdConnectApplicationSettingsClient struct {
	ApplicationType string   `json:"application_type,omitempty"`
	ClientUri       string   `json:"client_uri,omitempty"`
	ConsentMethod   string   `json:"consent_method,omitempty"`
	GrantTypes      []string `json:"grant_types,omitempty"`
	LogoUri         string   `json:"logo_uri,omitempty"`
	PolicyUri       string   `json:"policy_uri,omitempty"`
	RedirectUris    []string `json:"redirect_uris,omitempty"`
	ResponseTypes   []string `json:"response_types,omitempty"`
	TosUri          string   `json:"tos_uri,omitempty"`
}

type OpenIdConnectApplicationType

type OpenIdConnectApplicationType struct {
}

type PasswordCredential

type PasswordCredential struct {
	Value string `json:"value,omitempty"`
}

type PushFactor

type PushFactor struct {
	Profile *PushFactorProfile `json:"profile,omitempty"`
}

type PushFactorProfile

type PushFactorProfile struct {
	CredentialId string `json:"credentialId,omitempty"`
	DeviceType   string `json:"deviceType,omitempty"`
	Name         string `json:"name,omitempty"`
	Platform     string `json:"platform,omitempty"`
	Version      string `json:"version,omitempty"`
}

type RecoveryQuestionCredential

type RecoveryQuestionCredential struct {
	Answer   string `json:"answer,omitempty"`
	Question string `json:"question,omitempty"`
}

type RequestExecutor

type RequestExecutor struct {
	BaseUrl *url.URL
	// contains filtered or unexported fields
}

func NewRequestExecutor

func NewRequestExecutor(httpClient *http.Client, cache cache.Cache, config *Config) *RequestExecutor

func (*RequestExecutor) Do

func (re *RequestExecutor) Do(req *http.Request, v interface{}) (*Response, error)

func (*RequestExecutor) NewRequest

func (re *RequestExecutor) NewRequest(method string, url string, body interface{}) (*http.Request, error)

type ResetPasswordToken

type ResetPasswordToken struct {
	ResetPasswordUrl string `json:"resetPasswordUrl,omitempty"`
}

type Response

type Response struct {
	*http.Response
}

type Role

type Role struct {
	Embedded    interface{} `json:"_embedded,omitempty"`
	Created     *time.Time  `json:"created,omitempty"`
	Description string      `json:"description,omitempty"`
	Id          string      `json:"id,omitempty"`
	Label       string      `json:"label,omitempty"`
	LastUpdated *time.Time  `json:"lastUpdated,omitempty"`
	Status      string      `json:"status,omitempty"`
	Type        string      `json:"type,omitempty"`
}

type RoleStatus

type RoleStatus struct {
}

type SamlApplication

type SamlApplication struct {
	Settings *SamlApplicationSettings `json:"settings,omitempty"`
}

type SamlApplicationSettings

type SamlApplicationSettings struct {
	SignOn *SamlApplicationSettingsSignOn `json:"signOn,omitempty"`
}

type SamlApplicationSettingsSignOn

type SamlApplicationSettingsSignOn struct {
	AssertionSigned       bool     `json:"assertionSigned,omitempty"`
	AttributeStatements   []string `json:"attributeStatements,omitempty"`
	Audience              string   `json:"audience,omitempty"`
	AudienceOverride      string   `json:"audienceOverride,omitempty"`
	AuthnContextClassRef  string   `json:"authnContextClassRef,omitempty"`
	DefaultRelayState     string   `json:"defaultRelayState,omitempty"`
	Destination           string   `json:"destination,omitempty"`
	DestinationOverride   string   `json:"destinationOverride,omitempty"`
	DigestAlgorithm       string   `json:"digestAlgorithm,omitempty"`
	HonorForceAuthn       bool     `json:"honorForceAuthn,omitempty"`
	IdpIssuer             string   `json:"idpIssuer,omitempty"`
	Recipient             string   `json:"recipient,omitempty"`
	RecipientOverride     string   `json:"recipientOverride,omitempty"`
	RequestCompressed     bool     `json:"requestCompressed,omitempty"`
	ResponseSigned        bool     `json:"responseSigned,omitempty"`
	SignatureAlgorithm    string   `json:"signatureAlgorithm,omitempty"`
	SpIssuer              string   `json:"spIssuer,omitempty"`
	SsoAcsUrl             string   `json:"ssoAcsUrl,omitempty"`
	SsoAcsUrlOverride     string   `json:"ssoAcsUrlOverride,omitempty"`
	SubjectNameIdFormat   string   `json:"subjectNameIdFormat,omitempty"`
	SubjectNameIdTemplate string   `json:"subjectNameIdTemplate,omitempty"`
}

type SamlAttributeStatement

type SamlAttributeStatement struct {
	Name      string   `json:"name,omitempty"`
	Namespace string   `json:"namespace,omitempty"`
	Type      string   `json:"type,omitempty"`
	Values    []string `json:"values,omitempty"`
}

type SchemeApplicationCredentials

type SchemeApplicationCredentials struct {
	Password       *PasswordCredential            `json:"password,omitempty"`
	RevealPassword bool                           `json:"revealPassword,omitempty"`
	Scheme         string                         `json:"scheme,omitempty"`
	Signing        *ApplicationCredentialsSigning `json:"signing,omitempty"`
	UserName       string                         `json:"userName,omitempty"`
}

type SecurePasswordStoreApplication

type SecurePasswordStoreApplication struct {
	Credentials *SchemeApplicationCredentials           `json:"credentials,omitempty"`
	Name        string                                  `json:"name,omitempty"`
	Settings    *SecurePasswordStoreApplicationSettings `json:"settings,omitempty"`
}

type SecurePasswordStoreApplicationSettings

type SecurePasswordStoreApplicationSettings struct {
	App *SecurePasswordStoreApplicationSettingsApplication `json:"app,omitempty"`
}

type SecurePasswordStoreApplicationSettingsApplication

type SecurePasswordStoreApplicationSettingsApplication struct {
	OptionalField1      string `json:"optionalField1,omitempty"`
	OptionalField1Value string `json:"optionalField1Value,omitempty"`
	OptionalField2      string `json:"optionalField2,omitempty"`
	OptionalField2Value string `json:"optionalField2Value,omitempty"`
	OptionalField3      string `json:"optionalField3,omitempty"`
	OptionalField3Value string `json:"optionalField3Value,omitempty"`
	PasswordField       string `json:"passwordField,omitempty"`
	Url                 string `json:"url,omitempty"`
	UsernameField       string `json:"usernameField,omitempty"`
}

type SecurityQuestion

type SecurityQuestion struct {
	Answer       string `json:"answer,omitempty"`
	Question     string `json:"question,omitempty"`
	QuestionText string `json:"questionText,omitempty"`
}

type SecurityQuestionFactor

type SecurityQuestionFactor struct {
	Profile *SecurityQuestionFactorProfile `json:"profile,omitempty"`
}

type SecurityQuestionFactorProfile

type SecurityQuestionFactorProfile struct {
	Answer       string `json:"answer,omitempty"`
	Question     string `json:"question,omitempty"`
	QuestionText string `json:"questionText,omitempty"`
}

type Session

type Session struct {
	Links                    interface{}              `json:"_links,omitempty"`
	Amr                      []string                 `json:"amr,omitempty"`
	CreatedAt                *time.Time               `json:"createdAt,omitempty"`
	ExpiresAt                *time.Time               `json:"expiresAt,omitempty"`
	Id                       string                   `json:"id,omitempty"`
	Idp                      *SessionIdentityProvider `json:"idp,omitempty"`
	LastFactorVerification   *time.Time               `json:"lastFactorVerification,omitempty"`
	LastPasswordVerification *time.Time               `json:"lastPasswordVerification,omitempty"`
	Login                    string                   `json:"login,omitempty"`
	Status                   string                   `json:"status,omitempty"`
	UserId                   string                   `json:"userId,omitempty"`
}

type SessionAuthenticationMethod

type SessionAuthenticationMethod struct {
}

type SessionIdentityProvider

type SessionIdentityProvider struct {
	Id   string `json:"id,omitempty"`
	Type string `json:"type,omitempty"`
}

type SessionIdentityProviderType

type SessionIdentityProviderType struct {
}

type SessionResource

type SessionResource resource

func (*SessionResource) CreateSession

func (m *SessionResource) CreateSession(body CreateSessionRequest, qp *query.Params) (*Session, *Response, error)

func (*SessionResource) EndSession

func (m *SessionResource) EndSession(sessionId string, qp *query.Params) (*Response, error)

func (*SessionResource) GetSession

func (m *SessionResource) GetSession(sessionId string, qp *query.Params) (*Session, *Response, error)

func (*SessionResource) RefreshSession

func (m *SessionResource) RefreshSession(sessionId string, qp *query.Params) (*Session, *Response, error)

type SessionStatus

type SessionStatus struct {
}

type SmsFactor

type SmsFactor struct {
	Profile *SmsFactorProfile `json:"profile,omitempty"`
}

type SmsFactorProfile

type SmsFactorProfile struct {
	PhoneNumber string `json:"phoneNumber,omitempty"`
}

type SwaApplication

type SwaApplication struct {
	Name     string                  `json:"name,omitempty"`
	Settings *SwaApplicationSettings `json:"settings,omitempty"`
}

type SwaApplicationSettings

type SwaApplicationSettings struct {
	App *SwaApplicationSettingsApplication `json:"app,omitempty"`
}

type SwaApplicationSettingsApplication

type SwaApplicationSettingsApplication struct {
	ButtonField   string `json:"buttonField,omitempty"`
	LoginUrlRegex string `json:"loginUrlRegex,omitempty"`
	PasswordField string `json:"passwordField,omitempty"`
	Url           string `json:"url,omitempty"`
	UsernameField string `json:"usernameField,omitempty"`
}

type SwaThreeFieldApplication

type SwaThreeFieldApplication struct {
	Name     string                            `json:"name,omitempty"`
	Settings *SwaThreeFieldApplicationSettings `json:"settings,omitempty"`
}

type SwaThreeFieldApplicationSettings

type SwaThreeFieldApplicationSettings struct {
	App *SwaThreeFieldApplicationSettingsApplication `json:"app,omitempty"`
}

type SwaThreeFieldApplicationSettingsApplication

type SwaThreeFieldApplicationSettingsApplication struct {
	ButtonSelector     string `json:"buttonSelector,omitempty"`
	ExtraFieldSelector string `json:"extraFieldSelector,omitempty"`
	ExtraFieldValue    string `json:"extraFieldValue,omitempty"`
	LoginUrlRegex      string `json:"loginUrlRegex,omitempty"`
	PasswordSelector   string `json:"passwordSelector,omitempty"`
	TargetUrl          string `json:"targetUrl,omitempty"`
	UserNameSelector   string `json:"userNameSelector,omitempty"`
}

type TempPassword

type TempPassword struct {
	TempPassword string `json:"tempPassword,omitempty"`
}

type TokenFactor

type TokenFactor struct {
	Profile *TokenFactorProfile `json:"profile,omitempty"`
}

type TokenFactorProfile

type TokenFactorProfile struct {
	CredentialId string `json:"credentialId,omitempty"`
}

type TotpFactor

type TotpFactor struct {
	Profile *TotpFactorProfile `json:"profile,omitempty"`
}

type TotpFactorProfile

type TotpFactorProfile struct {
	CredentialId string `json:"credentialId,omitempty"`
}

type User

type User struct {
	Embedded              interface{}      `json:"_embedded,omitempty"`
	Links                 interface{}      `json:"_links,omitempty"`
	Activated             *time.Time       `json:"activated,omitempty"`
	Created               *time.Time       `json:"created,omitempty"`
	Credentials           *UserCredentials `json:"credentials,omitempty"`
	Id                    string           `json:"id,omitempty"`
	LastLogin             *time.Time       `json:"lastLogin,omitempty"`
	LastUpdated           *time.Time       `json:"lastUpdated,omitempty"`
	PasswordChanged       *time.Time       `json:"passwordChanged,omitempty"`
	Profile               *UserProfile     `json:"profile,omitempty"`
	Status                string           `json:"status,omitempty"`
	StatusChanged         *time.Time       `json:"statusChanged,omitempty"`
	TransitioningToStatus string           `json:"transitioningToStatus,omitempty"`
}

type UserActivationToken

type UserActivationToken struct {
	ActivationToken string `json:"activationToken,omitempty"`
	ActivationUrl   string `json:"activationUrl,omitempty"`
}

type UserAgent

type UserAgent struct {
	// contains filtered or unexported fields
}

func NewUserAgent

func NewUserAgent(config *Config) UserAgent

func (UserAgent) String

func (ua UserAgent) String() string

type UserCredentials

type UserCredentials struct {
	Password         *PasswordCredential         `json:"password,omitempty"`
	Provider         *AuthenticationProvider     `json:"provider,omitempty"`
	RecoveryQuestion *RecoveryQuestionCredential `json:"recovery_question,omitempty"`
}

type UserProfile

type UserProfile map[string]interface{}

type UserResource

type UserResource resource

func (*UserResource) ActivateUser

func (m *UserResource) ActivateUser(userId string, qp *query.Params) (*UserActivationToken, *Response, error)

func (*UserResource) AddGroupTargetToRole

func (m *UserResource) AddGroupTargetToRole(userId string, roleId string, groupId string, qp *query.Params) (*Response, error)

func (*UserResource) AddRoleToUser

func (m *UserResource) AddRoleToUser(userId string, body Role, qp *query.Params) (*Role, *Response, error)

func (*UserResource) ChangePassword

func (m *UserResource) ChangePassword(userId string, body ChangePasswordRequest, qp *query.Params) (*UserCredentials, *Response, error)

func (*UserResource) ChangeRecoveryQuestion

func (m *UserResource) ChangeRecoveryQuestion(userId string, body UserCredentials, qp *query.Params) (*UserCredentials, *Response, error)

func (*UserResource) CreateUser

func (m *UserResource) CreateUser(body User, qp *query.Params) (*User, *Response, error)

func (*UserResource) DeactivateOrDeleteUser

func (m *UserResource) DeactivateOrDeleteUser(userId string, qp *query.Params) (*Response, error)

func (*UserResource) DeactivateUser

func (m *UserResource) DeactivateUser(userId string, qp *query.Params) (*Response, error)

func (*UserResource) EndAllUserSessions

func (m *UserResource) EndAllUserSessions(userId string, qp *query.Params) (*Response, error)

func (*UserResource) ExpirePassword

func (m *UserResource) ExpirePassword(userId string, qp *query.Params) (*TempPassword, *Response, error)

func (*UserResource) ForgotPassword

func (m *UserResource) ForgotPassword(userId string, body UserCredentials, qp *query.Params) (*ForgotPasswordResponse, *Response, error)

func (*UserResource) GetUser

func (m *UserResource) GetUser(userId string, qp *query.Params) (*User, *Response, error)
func (m *UserResource) ListAppLinks(userId string, qp *query.Params) ([]*AppLink, *Response, error)

func (*UserResource) ListAssignedRoles

func (m *UserResource) ListAssignedRoles(userId string, qp *query.Params) ([]*Role, *Response, error)

func (*UserResource) ListGroupTargetsForRole

func (m *UserResource) ListGroupTargetsForRole(userId string, roleId string, qp *query.Params) ([]*Group, *Response, error)

func (*UserResource) ListUserGroups

func (m *UserResource) ListUserGroups(userId string, qp *query.Params) ([]*Group, *Response, error)

func (*UserResource) ListUsers

func (m *UserResource) ListUsers(qp *query.Params) ([]*User, *Response, error)

func (*UserResource) RemoveGroupTargetFromRole

func (m *UserResource) RemoveGroupTargetFromRole(userId string, roleId string, groupId string, qp *query.Params) (*Response, error)

func (*UserResource) RemoveRoleFromUser

func (m *UserResource) RemoveRoleFromUser(userId string, roleId string, qp *query.Params) (*Response, error)

func (*UserResource) ResetAllFactors

func (m *UserResource) ResetAllFactors(userId string, qp *query.Params) (*Response, error)

func (*UserResource) ResetPassword

func (m *UserResource) ResetPassword(userId string, qp *query.Params) (*ResetPasswordToken, *Response, error)

func (*UserResource) SuspendUser

func (m *UserResource) SuspendUser(userId string, qp *query.Params) (*Response, error)

func (*UserResource) UnlockUser

func (m *UserResource) UnlockUser(userId string, qp *query.Params) (*Response, error)

func (*UserResource) UnsuspendUser

func (m *UserResource) UnsuspendUser(userId string, qp *query.Params) (*Response, error)

func (*UserResource) UpdateUser

func (m *UserResource) UpdateUser(userId string, body User, qp *query.Params) (*User, *Response, error)

type UserStatus

type UserStatus struct {
}

type VerifyFactorRequest

type VerifyFactorRequest struct {
	ActivationToken string `json:"activationToken,omitempty"`
	Answer          string `json:"answer,omitempty"`
	NextPassCode    string `json:"nextPassCode,omitempty"`
	PassCode        string `json:"passCode,omitempty"`
}

type VerifyFactorResponse

type VerifyFactorResponse struct {
	Embedded            interface{} `json:"_embedded,omitempty"`
	Links               interface{} `json:"_links,omitempty"`
	ExpiresAt           *time.Time  `json:"expiresAt,omitempty"`
	FactorResult        string      `json:"factorResult,omitempty"`
	FactorResultMessage string      `json:"factorResultMessage,omitempty"`
}

type WebFactor

type WebFactor struct {
	Profile *WebFactorProfile `json:"profile,omitempty"`
}

type WebFactorProfile

type WebFactorProfile struct {
	CredentialId string `json:"credentialId,omitempty"`
}

type WsFederationApplication

type WsFederationApplication struct {
	Name     string                           `json:"name,omitempty"`
	Settings *WsFederationApplicationSettings `json:"settings,omitempty"`
}

type WsFederationApplicationSettings

type WsFederationApplicationSettings struct {
	App *WsFederationApplicationSettingsApplication `json:"app,omitempty"`
}

type WsFederationApplicationSettingsApplication

type WsFederationApplicationSettingsApplication struct {
	AttributeStatements  string `json:"attributeStatements,omitempty"`
	AudienceRestriction  string `json:"audienceRestriction,omitempty"`
	AuthnContextClassRef string `json:"authnContextClassRef,omitempty"`
	GroupFilter          string `json:"groupFilter,omitempty"`
	GroupName            string `json:"groupName,omitempty"`
	GroupValueFormat     string `json:"groupValueFormat,omitempty"`
	NameIDFormat         string `json:"nameIDFormat,omitempty"`
	Realm                string `json:"realm,omitempty"`
	SiteURL              string `json:"siteURL,omitempty"`
	UsernameAttribute    string `json:"usernameAttribute,omitempty"`
	WReplyOverride       bool   `json:"wReplyOverride,omitempty"`
	WReplyURL            string `json:"wReplyURL,omitempty"`
}

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL