Movatterモバイル変換


[0]ホーム

URL:


enidpsync

package
v2.23.0Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License:AGPL-3.0Imports:13Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeEnterpriseIDPSync

type EnterpriseIDPSync struct {*idpsync.AGPLIDPSync// contains filtered or unexported fields}

EnterpriseIDPSync enabled syncing user information from an external IDP.The sync is an enterprise feature, so this struct wraps the AGPL implementationand extends it with enterprise capabilities. These capabilities can entirelybe changed in the Parsing, and leaving the "syncing" part (which holds themore complex logic) to the shared AGPL implementation.

func (EnterpriseIDPSync)GroupSyncEntitledadded inv2.18.0

func (eEnterpriseIDPSync) GroupSyncEntitled()bool

func (EnterpriseIDPSync)OrganizationRoleSyncEnabledadded inv2.16.0

func (eEnterpriseIDPSync) OrganizationRoleSyncEnabled(ctxcontext.Context, dbdatabase.Store, orgIDuuid.UUID) (bool,error)

func (EnterpriseIDPSync)OrganizationSyncEnabled

func (eEnterpriseIDPSync) OrganizationSyncEnabled(ctxcontext.Context, dbdatabase.Store)bool

func (EnterpriseIDPSync)OrganizationSyncEntitledadded inv2.18.0

func (eEnterpriseIDPSync) OrganizationSyncEntitled()bool

func (EnterpriseIDPSync)ParseGroupClaimsadded inv2.16.0

func (eEnterpriseIDPSync) ParseGroupClaims(ctxcontext.Context, mergedClaims jwt.MapClaims) (idpsync.GroupParams, *idpsync.HTTPError)

ParseGroupClaims parses the user claims and handles deployment wide group behavior.Almost all behavior is deferred since each organization configures it's owngroup sync settings.GroupAllowList is implemented here to prevent login by unauthorized users.TODO: GroupAllowList overlaps with the default organization group sync settings.

func (EnterpriseIDPSync)ParseOrganizationClaims

func (eEnterpriseIDPSync) ParseOrganizationClaims(ctxcontext.Context, mergedClaims jwt.MapClaims) (idpsync.OrganizationParams, *idpsync.HTTPError)

func (EnterpriseIDPSync)ParseRoleClaimsadded inv2.16.0

func (eEnterpriseIDPSync) ParseRoleClaims(ctxcontext.Context, mergedClaims jwt.MapClaims) (idpsync.RoleParams, *idpsync.HTTPError)

func (EnterpriseIDPSync)RoleSyncEntitledadded inv2.16.0

func (eEnterpriseIDPSync) RoleSyncEntitled()bool

func (EnterpriseIDPSync)SiteRoleSyncEnabledadded inv2.16.0

func (eEnterpriseIDPSync) SiteRoleSyncEnabled()bool

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp