Versions in this module Expand all Collapse all v0 v0.3.2 May 9, 2026 v0.3.1 May 6, 2026 Changes in this version + type Application struct + AppID string + DisplayName string + ID string + PasswordCredentials []PasswordCredential + type Client struct + func NewClient(ts *auth.TokenSource, httpClient *http.Client, baseURL string) *Client + func (c *Client) AddPassword(ctx context.Context, appOrObjectID, displayName string) (PasswordCredential, error) + func (c *Client) CreateUser(ctx context.Context, displayName, userPrincipalName, password string) (User, error) + func (c *Client) DeleteUser(ctx context.Context, idOrUPN string) error + func (c *Client) ListPasswordCredentials(ctx context.Context, appOrObjectID string) (Application, error) + func (c *Client) ListUsers(ctx context.Context) ([]User, error) + func (c *Client) RemovePassword(ctx context.Context, appOrObjectID, keyID string) error + type PasswordCredential struct + DisplayName string + EndDateTime string + Hint string + KeyID string + SecretText string + StartDateTime string + type SignInActivity struct + LastSignInDateTime string + type User struct + AccountEnabled bool + CreatedDateTime string + DisplayName string + ID string + MailNickname string + PasswordProfile *UserPasswordProfile + SignInActivity *SignInActivity + UserPrincipalName string + type UserPasswordProfile struct + ForceChangePasswordNextSignIn bool + Password string