idp

package
v2.0.0-...-c383979 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IDPState_name = map[int32]string{
		0: "IDP_STATE_UNSPECIFIED",
		1: "IDP_STATE_ACTIVE",
		2: "IDP_STATE_INACTIVE",
	}
	IDPState_value = map[string]int32{
		"IDP_STATE_UNSPECIFIED": 0,
		"IDP_STATE_ACTIVE":      1,
		"IDP_STATE_INACTIVE":    2,
	}
)

Enum value maps for IDPState.

View Source
var (
	IDPStylingType_name = map[int32]string{
		0: "STYLING_TYPE_UNSPECIFIED",
		1: "STYLING_TYPE_GOOGLE",
	}
	IDPStylingType_value = map[string]int32{
		"STYLING_TYPE_UNSPECIFIED": 0,
		"STYLING_TYPE_GOOGLE":      1,
	}
)

Enum value maps for IDPStylingType.

View Source
var (
	IDPType_name = map[int32]string{
		0: "IDP_TYPE_UNSPECIFIED",
		1: "IDP_TYPE_OIDC",
		3: "IDP_TYPE_JWT",
	}
	IDPType_value = map[string]int32{
		"IDP_TYPE_UNSPECIFIED": 0,
		"IDP_TYPE_OIDC":        1,
		"IDP_TYPE_JWT":         3,
	}
)

Enum value maps for IDPType.

View Source
var (
	IDPOwnerType_name = map[int32]string{
		0: "IDP_OWNER_TYPE_UNSPECIFIED",
		1: "IDP_OWNER_TYPE_SYSTEM",
		2: "IDP_OWNER_TYPE_ORG",
	}
	IDPOwnerType_value = map[string]int32{
		"IDP_OWNER_TYPE_UNSPECIFIED": 0,
		"IDP_OWNER_TYPE_SYSTEM":      1,
		"IDP_OWNER_TYPE_ORG":         2,
	}
)

Enum value maps for IDPOwnerType.

View Source
var (
	OIDCMappingField_name = map[int32]string{
		0: "OIDC_MAPPING_FIELD_UNSPECIFIED",
		1: "OIDC_MAPPING_FIELD_PREFERRED_USERNAME",
		2: "OIDC_MAPPING_FIELD_EMAIL",
	}
	OIDCMappingField_value = map[string]int32{
		"OIDC_MAPPING_FIELD_UNSPECIFIED":        0,
		"OIDC_MAPPING_FIELD_PREFERRED_USERNAME": 1,
		"OIDC_MAPPING_FIELD_EMAIL":              2,
	}
)

Enum value maps for OIDCMappingField.

View Source
var (
	IDPFieldName_name = map[int32]string{
		0: "IDP_FIELD_NAME_UNSPECIFIED",
		1: "IDP_FIELD_NAME_NAME",
	}
	IDPFieldName_value = map[string]int32{
		"IDP_FIELD_NAME_UNSPECIFIED": 0,
		"IDP_FIELD_NAME_NAME":        1,
	}
)

Enum value maps for IDPFieldName.

View Source
var File_zitadel_idp_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type IDP

type IDP struct {
	Id          string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Details     *object.ObjectDetails `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	State       IDPState              `protobuf:"varint,3,opt,name=state,proto3,enum=zitadel.idp.v1.IDPState" json:"state,omitempty"`
	Name        string                `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	StylingType IDPStylingType        `` /* 130-byte string literal not displayed */
	Owner       IDPOwnerType          `protobuf:"varint,6,opt,name=owner,proto3,enum=zitadel.idp.v1.IDPOwnerType" json:"owner,omitempty"`
	// Types that are assignable to Config:
	//
	//	*IDP_OidcConfig
	//	*IDP_JwtConfig
	Config       isIDP_Config `protobuf_oneof:"config"`
	AutoRegister bool         `protobuf:"varint,8,opt,name=auto_register,json=autoRegister,proto3" json:"auto_register,omitempty"`
	// contains filtered or unexported fields
}

func (*IDP) Descriptor deprecated

func (*IDP) Descriptor() ([]byte, []int)

Deprecated: Use IDP.ProtoReflect.Descriptor instead.

func (*IDP) GetAutoRegister

func (x *IDP) GetAutoRegister() bool

func (*IDP) GetConfig

func (m *IDP) GetConfig() isIDP_Config

func (*IDP) GetDetails

func (x *IDP) GetDetails() *object.ObjectDetails

func (*IDP) GetId

func (x *IDP) GetId() string

func (*IDP) GetJwtConfig

func (x *IDP) GetJwtConfig() *JWTConfig

func (*IDP) GetName

func (x *IDP) GetName() string

func (*IDP) GetOidcConfig

func (x *IDP) GetOidcConfig() *OIDCConfig

func (*IDP) GetOwner

func (x *IDP) GetOwner() IDPOwnerType

func (*IDP) GetState

func (x *IDP) GetState() IDPState

func (*IDP) GetStylingType

func (x *IDP) GetStylingType() IDPStylingType

func (*IDP) ProtoMessage

func (*IDP) ProtoMessage()

func (*IDP) ProtoReflect

func (x *IDP) ProtoReflect() protoreflect.Message

func (*IDP) Reset

func (x *IDP) Reset()

func (*IDP) String

func (x *IDP) String() string

type IDPFieldName

type IDPFieldName int32
const (
	IDPFieldName_IDP_FIELD_NAME_UNSPECIFIED IDPFieldName = 0
	IDPFieldName_IDP_FIELD_NAME_NAME        IDPFieldName = 1
)

func (IDPFieldName) Descriptor

func (IDPFieldName) Enum

func (x IDPFieldName) Enum() *IDPFieldName

func (IDPFieldName) EnumDescriptor deprecated

func (IDPFieldName) EnumDescriptor() ([]byte, []int)

Deprecated: Use IDPFieldName.Descriptor instead.

func (IDPFieldName) Number

func (IDPFieldName) String

func (x IDPFieldName) String() string

func (IDPFieldName) Type

type IDPIDQuery

type IDPIDQuery struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*IDPIDQuery) Descriptor deprecated

func (*IDPIDQuery) Descriptor() ([]byte, []int)

Deprecated: Use IDPIDQuery.ProtoReflect.Descriptor instead.

func (*IDPIDQuery) GetId

func (x *IDPIDQuery) GetId() string

func (*IDPIDQuery) ProtoMessage

func (*IDPIDQuery) ProtoMessage()

func (*IDPIDQuery) ProtoReflect

func (x *IDPIDQuery) ProtoReflect() protoreflect.Message

func (*IDPIDQuery) Reset

func (x *IDPIDQuery) Reset()

func (*IDPIDQuery) String

func (x *IDPIDQuery) String() string
type IDPLoginPolicyLink struct {
	IdpId   string  `protobuf:"bytes,1,opt,name=idp_id,json=idpId,proto3" json:"idp_id,omitempty"`
	IdpName string  `protobuf:"bytes,2,opt,name=idp_name,json=idpName,proto3" json:"idp_name,omitempty"`
	IdpType IDPType `protobuf:"varint,3,opt,name=idp_type,json=idpType,proto3,enum=zitadel.idp.v1.IDPType" json:"idp_type,omitempty"`
	// contains filtered or unexported fields
}

func (*IDPLoginPolicyLink) Descriptor deprecated

func (*IDPLoginPolicyLink) Descriptor() ([]byte, []int)

Deprecated: Use IDPLoginPolicyLink.ProtoReflect.Descriptor instead.

func (*IDPLoginPolicyLink) GetIdpId

func (x *IDPLoginPolicyLink) GetIdpId() string

func (*IDPLoginPolicyLink) GetIdpName

func (x *IDPLoginPolicyLink) GetIdpName() string

func (*IDPLoginPolicyLink) GetIdpType

func (x *IDPLoginPolicyLink) GetIdpType() IDPType

func (*IDPLoginPolicyLink) ProtoMessage

func (*IDPLoginPolicyLink) ProtoMessage()

func (*IDPLoginPolicyLink) ProtoReflect

func (x *IDPLoginPolicyLink) ProtoReflect() protoreflect.Message

func (*IDPLoginPolicyLink) Reset

func (x *IDPLoginPolicyLink) Reset()

func (*IDPLoginPolicyLink) String

func (x *IDPLoginPolicyLink) String() string

type IDPNameQuery

type IDPNameQuery struct {
	Name   string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Method object.TextQueryMethod `protobuf:"varint,2,opt,name=method,proto3,enum=zitadel.v1.TextQueryMethod" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*IDPNameQuery) Descriptor deprecated

func (*IDPNameQuery) Descriptor() ([]byte, []int)

Deprecated: Use IDPNameQuery.ProtoReflect.Descriptor instead.

func (*IDPNameQuery) GetMethod

func (x *IDPNameQuery) GetMethod() object.TextQueryMethod

func (*IDPNameQuery) GetName

func (x *IDPNameQuery) GetName() string

func (*IDPNameQuery) ProtoMessage

func (*IDPNameQuery) ProtoMessage()

func (*IDPNameQuery) ProtoReflect

func (x *IDPNameQuery) ProtoReflect() protoreflect.Message

func (*IDPNameQuery) Reset

func (x *IDPNameQuery) Reset()

func (*IDPNameQuery) String

func (x *IDPNameQuery) String() string

type IDPOwnerType

type IDPOwnerType int32

the owner of the identity provider.

const (
	IDPOwnerType_IDP_OWNER_TYPE_UNSPECIFIED IDPOwnerType = 0
	// system is managed by the ZITADEL administrators
	IDPOwnerType_IDP_OWNER_TYPE_SYSTEM IDPOwnerType = 1
	// org is managed by de organisation administrators
	IDPOwnerType_IDP_OWNER_TYPE_ORG IDPOwnerType = 2
)

func (IDPOwnerType) Descriptor

func (IDPOwnerType) Enum

func (x IDPOwnerType) Enum() *IDPOwnerType

func (IDPOwnerType) EnumDescriptor deprecated

func (IDPOwnerType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IDPOwnerType.Descriptor instead.

func (IDPOwnerType) Number

func (IDPOwnerType) String

func (x IDPOwnerType) String() string

func (IDPOwnerType) Type

type IDPOwnerTypeQuery

type IDPOwnerTypeQuery struct {
	OwnerType IDPOwnerType `protobuf:"varint,1,opt,name=owner_type,json=ownerType,proto3,enum=zitadel.idp.v1.IDPOwnerType" json:"owner_type,omitempty"`
	// contains filtered or unexported fields
}

func (*IDPOwnerTypeQuery) Descriptor deprecated

func (*IDPOwnerTypeQuery) Descriptor() ([]byte, []int)

Deprecated: Use IDPOwnerTypeQuery.ProtoReflect.Descriptor instead.

func (*IDPOwnerTypeQuery) GetOwnerType

func (x *IDPOwnerTypeQuery) GetOwnerType() IDPOwnerType

func (*IDPOwnerTypeQuery) ProtoMessage

func (*IDPOwnerTypeQuery) ProtoMessage()

func (*IDPOwnerTypeQuery) ProtoReflect

func (x *IDPOwnerTypeQuery) ProtoReflect() protoreflect.Message

func (*IDPOwnerTypeQuery) Reset

func (x *IDPOwnerTypeQuery) Reset()

func (*IDPOwnerTypeQuery) String

func (x *IDPOwnerTypeQuery) String() string

type IDPState

type IDPState int32
const (
	IDPState_IDP_STATE_UNSPECIFIED IDPState = 0
	IDPState_IDP_STATE_ACTIVE      IDPState = 1
	IDPState_IDP_STATE_INACTIVE    IDPState = 2
)

func (IDPState) Descriptor

func (IDPState) Descriptor() protoreflect.EnumDescriptor

func (IDPState) Enum

func (x IDPState) Enum() *IDPState

func (IDPState) EnumDescriptor deprecated

func (IDPState) EnumDescriptor() ([]byte, []int)

Deprecated: Use IDPState.Descriptor instead.

func (IDPState) Number

func (x IDPState) Number() protoreflect.EnumNumber

func (IDPState) String

func (x IDPState) String() string

func (IDPState) Type

type IDPStylingType

type IDPStylingType int32
const (
	IDPStylingType_STYLING_TYPE_UNSPECIFIED IDPStylingType = 0
	IDPStylingType_STYLING_TYPE_GOOGLE      IDPStylingType = 1
)

func (IDPStylingType) Descriptor

func (IDPStylingType) Enum

func (x IDPStylingType) Enum() *IDPStylingType

func (IDPStylingType) EnumDescriptor deprecated

func (IDPStylingType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IDPStylingType.Descriptor instead.

func (IDPStylingType) Number

func (IDPStylingType) String

func (x IDPStylingType) String() string

func (IDPStylingType) Type

type IDPType

type IDPType int32

authorization framework of the identity provider

const (
	IDPType_IDP_TYPE_UNSPECIFIED IDPType = 0
	IDPType_IDP_TYPE_OIDC        IDPType = 1
	// PLANNED: IDP_TYPE_SAML
	IDPType_IDP_TYPE_JWT IDPType = 3
)

func (IDPType) Descriptor

func (IDPType) Descriptor() protoreflect.EnumDescriptor

func (IDPType) Enum

func (x IDPType) Enum() *IDPType

func (IDPType) EnumDescriptor deprecated

func (IDPType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IDPType.Descriptor instead.

func (IDPType) Number

func (x IDPType) Number() protoreflect.EnumNumber

func (IDPType) String

func (x IDPType) String() string

func (IDPType) Type

func (IDPType) Type() protoreflect.EnumType
type IDPUserLink struct {
	UserId           string  `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	IdpId            string  `protobuf:"bytes,2,opt,name=idp_id,json=idpId,proto3" json:"idp_id,omitempty"`
	IdpName          string  `protobuf:"bytes,3,opt,name=idp_name,json=idpName,proto3" json:"idp_name,omitempty"`
	ProvidedUserId   string  `protobuf:"bytes,4,opt,name=provided_user_id,json=providedUserId,proto3" json:"provided_user_id,omitempty"`
	ProvidedUserName string  `protobuf:"bytes,5,opt,name=provided_user_name,json=providedUserName,proto3" json:"provided_user_name,omitempty"`
	IdpType          IDPType `protobuf:"varint,6,opt,name=idp_type,json=idpType,proto3,enum=zitadel.idp.v1.IDPType" json:"idp_type,omitempty"`
	// contains filtered or unexported fields
}

func (*IDPUserLink) Descriptor deprecated

func (*IDPUserLink) Descriptor() ([]byte, []int)

Deprecated: Use IDPUserLink.ProtoReflect.Descriptor instead.

func (*IDPUserLink) GetIdpId

func (x *IDPUserLink) GetIdpId() string

func (*IDPUserLink) GetIdpName

func (x *IDPUserLink) GetIdpName() string

func (*IDPUserLink) GetIdpType

func (x *IDPUserLink) GetIdpType() IDPType

func (*IDPUserLink) GetProvidedUserId

func (x *IDPUserLink) GetProvidedUserId() string

func (*IDPUserLink) GetProvidedUserName

func (x *IDPUserLink) GetProvidedUserName() string

func (*IDPUserLink) GetUserId

func (x *IDPUserLink) GetUserId() string

func (*IDPUserLink) ProtoMessage

func (*IDPUserLink) ProtoMessage()

func (*IDPUserLink) ProtoReflect

func (x *IDPUserLink) ProtoReflect() protoreflect.Message

func (*IDPUserLink) Reset

func (x *IDPUserLink) Reset()

func (*IDPUserLink) String

func (x *IDPUserLink) String() string

type IDP_JwtConfig

type IDP_JwtConfig struct {
	JwtConfig *JWTConfig `protobuf:"bytes,9,opt,name=jwt_config,json=jwtConfig,proto3,oneof"`
}

type IDP_OidcConfig

type IDP_OidcConfig struct {
	OidcConfig *OIDCConfig `protobuf:"bytes,7,opt,name=oidc_config,json=oidcConfig,proto3,oneof"`
}

type JWTConfig

type JWTConfig struct {
	JwtEndpoint  string `protobuf:"bytes,1,opt,name=jwt_endpoint,json=jwtEndpoint,proto3" json:"jwt_endpoint,omitempty"`
	Issuer       string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
	KeysEndpoint string `protobuf:"bytes,3,opt,name=keys_endpoint,json=keysEndpoint,proto3" json:"keys_endpoint,omitempty"`
	HeaderName   string `protobuf:"bytes,4,opt,name=header_name,json=headerName,proto3" json:"header_name,omitempty"`
	// contains filtered or unexported fields
}

func (*JWTConfig) Descriptor deprecated

func (*JWTConfig) Descriptor() ([]byte, []int)

Deprecated: Use JWTConfig.ProtoReflect.Descriptor instead.

func (*JWTConfig) GetHeaderName

func (x *JWTConfig) GetHeaderName() string

func (*JWTConfig) GetIssuer

func (x *JWTConfig) GetIssuer() string

func (*JWTConfig) GetJwtEndpoint

func (x *JWTConfig) GetJwtEndpoint() string

func (*JWTConfig) GetKeysEndpoint

func (x *JWTConfig) GetKeysEndpoint() string

func (*JWTConfig) ProtoMessage

func (*JWTConfig) ProtoMessage()

func (*JWTConfig) ProtoReflect

func (x *JWTConfig) ProtoReflect() protoreflect.Message

func (*JWTConfig) Reset

func (x *JWTConfig) Reset()

func (*JWTConfig) String

func (x *JWTConfig) String() string

type OIDCConfig

type OIDCConfig struct {
	ClientId           string           `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Issuer             string           `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
	Scopes             []string         `protobuf:"bytes,3,rep,name=scopes,proto3" json:"scopes,omitempty"`
	DisplayNameMapping OIDCMappingField `` /* 155-byte string literal not displayed */
	UsernameMapping    OIDCMappingField `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OIDCConfig) Descriptor deprecated

func (*OIDCConfig) Descriptor() ([]byte, []int)

Deprecated: Use OIDCConfig.ProtoReflect.Descriptor instead.

func (*OIDCConfig) GetClientId

func (x *OIDCConfig) GetClientId() string

func (*OIDCConfig) GetDisplayNameMapping

func (x *OIDCConfig) GetDisplayNameMapping() OIDCMappingField

func (*OIDCConfig) GetIssuer

func (x *OIDCConfig) GetIssuer() string

func (*OIDCConfig) GetScopes

func (x *OIDCConfig) GetScopes() []string

func (*OIDCConfig) GetUsernameMapping

func (x *OIDCConfig) GetUsernameMapping() OIDCMappingField

func (*OIDCConfig) ProtoMessage

func (*OIDCConfig) ProtoMessage()

func (*OIDCConfig) ProtoReflect

func (x *OIDCConfig) ProtoReflect() protoreflect.Message

func (*OIDCConfig) Reset

func (x *OIDCConfig) Reset()

func (*OIDCConfig) String

func (x *OIDCConfig) String() string

type OIDCMappingField

type OIDCMappingField int32
const (
	OIDCMappingField_OIDC_MAPPING_FIELD_UNSPECIFIED        OIDCMappingField = 0
	OIDCMappingField_OIDC_MAPPING_FIELD_PREFERRED_USERNAME OIDCMappingField = 1
	OIDCMappingField_OIDC_MAPPING_FIELD_EMAIL              OIDCMappingField = 2
)

func (OIDCMappingField) Descriptor

func (OIDCMappingField) Enum

func (OIDCMappingField) EnumDescriptor deprecated

func (OIDCMappingField) EnumDescriptor() ([]byte, []int)

Deprecated: Use OIDCMappingField.Descriptor instead.

func (OIDCMappingField) Number

func (OIDCMappingField) String

func (x OIDCMappingField) String() string

func (OIDCMappingField) Type

Jump to

Keyboard shortcuts

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