Browse Source
[CLOUDTRUST-2458] renaming CreateShadowUser to LinkShahowUser
master
Sonia
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
users.go
|
|
|
@ -118,8 +118,8 @@ func (c *Client) SendReminderEmail(accessToken string, realmName string, userID |
|
|
|
return err |
|
|
|
} |
|
|
|
|
|
|
|
// CreateShadowUser creates the a shadow user in the context of brokering
|
|
|
|
func (c *Client) CreateShadowUser(accessToken string, reqRealmName string, userID string, provider string, fedIDKC FederatedIdentityRepresentation) error { |
|
|
|
// LinkShadowUser links shadow user to a realm in the context of brokering
|
|
|
|
func (c *Client) LinkShadowUser(accessToken string, reqRealmName string, userID string, provider string, fedIDKC FederatedIdentityRepresentation) error { |
|
|
|
_, err := c.post(accessToken, nil, url.Path(shadowUser), url.Param("realm", reqRealmName), url.Param("id", userID), url.Param("provider", provider), body.JSON(fedIDKC)) |
|
|
|
return err |
|
|
|
} |
|
|
|
|