Documentation ¶
Index ¶
- Constants
- func SyncMemberOfInternal(c ctx.RequestContext, nsID string, groupID string) (*resdoc.LinkResourceDoc, *ProfileDoc, *ProfileDoc, error)
- type AppDoc
- type ProfileDoc
- func SyncProfileInternal(c ctx.RequestContext, namespaceId string, ...) (*ProfileDoc, error)
- func SyncServicePrincipalProfile(c ctx.RequestContext, ID string, additionalSelects []string) (ctx.RequestContext, *ProfileDoc, gmodels.ServicePrincipalable, error)
- func SyncServicePrincipalProfileByAppID(c ctx.RequestContext, appID string, additionalSelects []string) (ctx.RequestContext, *ProfileDoc, gmodels.ServicePrincipalable, error)
- type ProfileServer
- func (*ProfileServer) GetProfile(ec echo.Context, namespaceProvider models.NamespaceProvider, ...) error
- func (*ProfileServer) ListProfiles(ec echo.Context, namespaceProvider models.NamespaceProvider) error
- func (*ProfileServer) PutProfile(ec echo.Context, namespaceProvider models.NamespaceProvider, ...) error
- func (*ProfileServer) SyncMemberOf(ec echo.Context, namespaceProvider models.NamespaceProvider, nsID string, ...) error
- func (*ProfileServer) SyncProfile(ec echo.Context, namespaceProvider models.NamespaceProvider, ...) error
Constants ¶
View Source
const ( NamespaceIDApp = "app" NamespaceIDCA = "ca" NamespaceIDGraph = "graph" )
Variables ¶
This section is empty.
Functions ¶
func SyncMemberOfInternal ¶
func SyncMemberOfInternal(c ctx.RequestContext, nsID string, groupID string) (*resdoc.LinkResourceDoc, *ProfileDoc, *ProfileDoc, error)
Types ¶
type AppDoc ¶
type ProfileDoc ¶
type ProfileDoc struct { resdoc.ResourceDoc DisplayName *string `json:"displayName,omitempty"` UserPrincipalName *string `json:"userPrincipalName,omitempty"` ServicePrincipalType *string `json:"servicePrincipalType,omitempty"` AppId *string `json:"appId,omitempty"` Mail *string `json:"mail,omitempty"` }
func SyncProfileInternal ¶
func SyncProfileInternal(c ctx.RequestContext, namespaceId string, gclient *msgraphsdkgo.GraphServiceClient) (*ProfileDoc, error)
func SyncServicePrincipalProfile ¶
func SyncServicePrincipalProfile(c ctx.RequestContext, ID string, additionalSelects []string) (ctx.RequestContext, *ProfileDoc, gmodels.ServicePrincipalable, error)
func SyncServicePrincipalProfileByAppID ¶
func SyncServicePrincipalProfileByAppID(c ctx.RequestContext, appID string, additionalSelects []string) (ctx.RequestContext, *ProfileDoc, gmodels.ServicePrincipalable, error)
func (*ProfileDoc) TargetNamespaceProvider ¶
func (doc *ProfileDoc) TargetNamespaceProvider() models.NamespaceProvider
func (*ProfileDoc) ToModel ¶
func (doc *ProfileDoc) ToModel() (m models.Profile)
func (*ProfileDoc) ToRef ¶
func (doc *ProfileDoc) ToRef() (ref models.Ref)
type ProfileServer ¶
func NewServer ¶
func NewServer(apiServer api.APIServer) *ProfileServer
func (*ProfileServer) GetProfile ¶
func (*ProfileServer) GetProfile(ec echo.Context, namespaceProvider models.NamespaceProvider, namespaceId string) error
SyncProfile implements admin.ServerInterface.
func (*ProfileServer) ListProfiles ¶
func (*ProfileServer) ListProfiles(ec echo.Context, namespaceProvider models.NamespaceProvider) error
func (*ProfileServer) PutProfile ¶
func (*ProfileServer) PutProfile(ec echo.Context, namespaceProvider models.NamespaceProvider, namespaceId string) error
PutProfile implements admin.ServerInterface.
func (*ProfileServer) SyncMemberOf ¶
func (*ProfileServer) SyncMemberOf(ec echo.Context, namespaceProvider models.NamespaceProvider, nsID string, groupID string) error
SyncMemberGroup implements admin.ServerInterface.
func (*ProfileServer) SyncProfile ¶
func (*ProfileServer) SyncProfile(ec echo.Context, namespaceProvider models.NamespaceProvider, namespaceId string) error
SyncProfile implements admin.ServerInterface.
Click to show internal directories.
Click to hide internal directories.