Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProjectToModel ¶
Types ¶
type APIConfig ¶
type APIConfig struct { es_models.ObjectRoot AppID string `json:"appId"` ClientID string `json:"clientId,omitempty"` ClientSecret *crypto.CryptoValue `json:"clientSecret,omitempty"` AuthMethodType int32 `json:"authMethodType,omitempty"` ClientKeys []*ClientKey `json:"-"` }
type Application ¶
type Application struct { es_models.ObjectRoot AppID string `json:"appId"` State int32 `json:"-"` Name string `json:"name,omitempty"` Type int32 `json:"appType,omitempty"` OIDCConfig *OIDCConfig `json:"-"` APIConfig *APIConfig `json:"-"` SAMLConfig *SAMLConfig `json:"-"` }
type ApplicationID ¶
type ApplicationID struct { es_models.ObjectRoot AppID string `json:"appId"` }
type ClientKey ¶
type ClientKey struct { es_models.ObjectRoot `json:"-"` ApplicationID string `json:"applicationId,omitempty"` ClientID string `json:"clientId,omitempty"` KeyID string `json:"keyId,omitempty"` Type int32 `json:"type,omitempty"` ExpirationDate time.Time `json:"expirationDate,omitempty"` PublicKey []byte `json:"publicKey,omitempty"` // contains filtered or unexported fields }
func (*ClientKey) AppendEvent ¶
func (*ClientKey) AppendEvents ¶
func (*ClientKey) GenerateClientKeyPair ¶
type OIDCConfig ¶
type OIDCConfig struct { es_models.ObjectRoot Version int32 `json:"oidcVersion,omitempty"` AppID string `json:"appId"` ClientID string `json:"clientId,omitempty"` ClientSecret *crypto.CryptoValue `json:"clientSecret,omitempty"` RedirectUris []string `json:"redirectUris,omitempty"` ResponseTypes []int32 `json:"responseTypes,omitempty"` GrantTypes []int32 `json:"grantTypes,omitempty"` ApplicationType int32 `json:"applicationType,omitempty"` AuthMethodType int32 `json:"authMethodType,omitempty"` PostLogoutRedirectUris []string `json:"postLogoutRedirectUris,omitempty"` DevMode bool `json:"devMode,omitempty"` AccessTokenType int32 `json:"accessTokenType,omitempty"` AccessTokenRoleAssertion bool `json:"accessTokenRoleAssertion,omitempty"` IDTokenRoleAssertion bool `json:"idTokenRoleAssertion,omitempty"` IDTokenUserinfoAssertion bool `json:"idTokenUserinfoAssertion,omitempty"` ClockSkew time.Duration `json:"clockSkew,omitempty"` ClientKeys []*ClientKey `json:"-"` }
type Project ¶
type Project struct { es_models.ObjectRoot Name string `json:"name,omitempty"` ProjectRoleAssertion bool `json:"projectRoleAssertion,omitempty"` ProjectRoleCheck bool `json:"projectRoleCheck,omitempty"` HasProjectCheck bool `json:"hasProjectCheck,omitempty"` State int32 `json:"-"` }
func ProjectFromEvents ¶
func (*Project) AppendAddProjectEvent ¶
type ProjectGrant ¶
type ProjectGrant struct { es_models.ObjectRoot State int32 `json:"-"` GrantID string `json:"grantId,omitempty"` GrantedOrgID string `json:"grantedOrgId,omitempty"` RoleKeys []string `json:"roleKeys,omitempty"` Members []*ProjectGrantMember `json:"-"` }
func (*ProjectGrant) Changes ¶
func (g *ProjectGrant) Changes(changed *ProjectGrant) map[string]interface{}
type ProjectGrantID ¶
type ProjectGrantID struct { es_models.ObjectRoot GrantID string `json:"grantId"` }
type ProjectGrantMember ¶
type ProjectGrantMember struct { es_models.ObjectRoot GrantID string `json:"grantId,omitempty"` UserID string `json:"userId,omitempty"` Roles []string `json:"roles,omitempty"` }
type ProjectMember ¶
type ProjectMember struct { es_models.ObjectRoot UserID string `json:"userId,omitempty"` Roles []string `json:"roles,omitempty"` }
type SAMLConfig ¶
type SAMLConfig struct { es_models.ObjectRoot AppID string `json:"appId"` Metadata []byte `json:"metadata,omitempty"` MetadataURL string `json:"metadataUrl,omitempty"` }
Click to show internal directories.
Click to hide internal directories.