package
0.0.0-20231128064227-1e47281359cc
Repository: https://github.com/provideplatform/provide-go.git
Documentation: pkg.go.dev

# Functions

Authenticate a user by email address and password.
Authenticate a user by email address and password and attempt to accept an invite associated with the given invitation token.
CreateApplication on behalf of the given API token.
CreateApplicationOrganization associates an organization with an application.
CreateApplicationToken creates a new API token for the given application ID.
CreateApplicationUser associates a user with an application.
CreateInvitation creates a user invitation.
CreateOrganization creates a new organization.
CreateOrganizationUser associates a user with an organization.
CreateToken creates a new API token.
CreateUser creates a new user for which API tokens and managed signing identities can be authorized.
DeleteApplication soft-deletes the application using the given API token.
DeleteApplicationOrganization disassociates an organization with an application.
DeleteApplicationUser disassociates a user with an application.
DeleteOrganizationUser disassociates a user with an organization.
DeleteToken removes a previously authorized API token, effectively deauthorizing future calls using the token.
GetApplicationDetails retrives application details for the given API token and application id.
GetJWKs returns the set of keys containing the public keys used to verify JWTs.
GetOrganizationDetails retrieves details for the given organization.
GetTokenDetails retrieves details for the given API token id.
GetUserDetails retrieves details for the given user id.
InitDefaultIdentService convenience method to initialize a default `ident.Service` (i.e., production) instance.
InitIdentService convenience method to initialize an `ident.Service` instance.
ListApplicationInvitations retrieves a paginated list of invitations scoped to the given API token.
ListApplicationOrganizations retrieves a paginated list of organizations scoped to the given API token.
ListApplications retrieves a paginated list of applications scoped to the given API token.
ListApplicationTokens retrieves a paginated list of application API tokens.
ListApplicationUsers retrieves a paginated list of users scoped to the given API token.
ListOrganizationInvitations retrieves a paginated list of organization invitations scoped to the given API token.
ListOrganizations retrieves a paginated list of organizations scoped to the given API token.
ListOrganizationUsers retrieves a paginated list of users scoped to an organization.
ListTokens retrieves a paginated list of API tokens scoped to the given API token.
ListUsers retrieves a paginated list of users scoped to the given API token.
RequestPasswordReset initiates a password reset request.
ResetPassword completes a previously-requested password reset operation for a user.
Status returns the status of the endpoint.
UpdateApplication using the given API token, application id and params.
UpdateOrganization updates an organization.
UpdateOrganizationUser updates an associated organization user=.
UpdateUser updates an existing user.

# Structs

Application model which is initially owned by the user who created it.
AuthenticationResponse is returned upon successful authentication of a user (i.e., by email address).
Invite model.
JSONWebKey represents the public part of a JWT.
Organization model.
Service for the ident api.
Token represents a bearer JWT.
User represents a user.