Documentation ¶
Overview ¶
Package admin provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Index ¶
- Constants
- func NewDeleteAdminSsoProvidersSsoProviderIdRequest(server string, ssoProviderId openapi_types.UUID) (*http.Request, error)
- func NewDeleteAdminUsersUserIdFactorsFactorIdRequest(server string, userId openapi_types.UUID, factorId openapi_types.UUID) (*http.Request, error)
- func NewDeleteAdminUsersUserIdRequest(server string, userId openapi_types.UUID) (*http.Request, error)
- func NewGetAdminAuditRequest(server string, params *GetAdminAuditParams) (*http.Request, error)
- func NewGetAdminSsoProvidersRequest(server string) (*http.Request, error)
- func NewGetAdminSsoProvidersSsoProviderIdRequest(server string, ssoProviderId openapi_types.UUID) (*http.Request, error)
- func NewGetAdminUsersRequest(server string, params *GetAdminUsersParams) (*http.Request, error)
- func NewGetAdminUsersUserIdFactorsRequest(server string, userId openapi_types.UUID) (*http.Request, error)
- func NewGetAdminUsersUserIdRequest(server string, userId openapi_types.UUID) (*http.Request, error)
- func NewPostAdminSsoProvidersRequest(server string, body PostAdminSsoProvidersJSONRequestBody) (*http.Request, error)
- func NewPostAdminSsoProvidersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostGenerateLinkRequest(server string, body PostGenerateLinkJSONRequestBody) (*http.Request, error)
- func NewPostGenerateLinkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostInviteRequest(server string, body PostInviteJSONRequestBody) (*http.Request, error)
- func NewPostInviteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutAdminSsoProvidersSsoProviderIdRequest(server string, ssoProviderId openapi_types.UUID, ...) (*http.Request, error)
- func NewPutAdminSsoProvidersSsoProviderIdRequestWithBody(server string, ssoProviderId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPutAdminUsersUserIdFactorsFactorIdRequest(server string, userId openapi_types.UUID, factorId openapi_types.UUID, ...) (*http.Request, error)
- func NewPutAdminUsersUserIdFactorsFactorIdRequestWithBody(server string, userId openapi_types.UUID, factorId openapi_types.UUID, ...) (*http.Request, error)
- func NewPutAdminUsersUserIdRequest(server string, userId openapi_types.UUID, ...) (*http.Request, error)
- func NewPutAdminUsersUserIdRequestWithBody(server string, userId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- type BadRequestResponse
- type Client
- func (c *Client) DeleteAdminSsoProvidersSsoProviderId(ctx context.Context, ssoProviderId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteAdminUsersUserId(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteAdminUsersUserIdFactorsFactorId(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetAdminAudit(ctx context.Context, params *GetAdminAuditParams, ...) (*http.Response, error)
- func (c *Client) GetAdminSsoProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAdminSsoProvidersSsoProviderId(ctx context.Context, ssoProviderId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetAdminUsers(ctx context.Context, params *GetAdminUsersParams, ...) (*http.Response, error)
- func (c *Client) GetAdminUsersUserId(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAdminUsersUserIdFactors(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostAdminSsoProviders(ctx context.Context, body PostAdminSsoProvidersJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAdminSsoProvidersWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostGenerateLink(ctx context.Context, body PostGenerateLinkJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostGenerateLinkWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostInvite(ctx context.Context, body PostInviteJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostInviteWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutAdminSsoProvidersSsoProviderId(ctx context.Context, ssoProviderId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PutAdminSsoProvidersSsoProviderIdWithBody(ctx context.Context, ssoProviderId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PutAdminUsersUserId(ctx context.Context, userId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PutAdminUsersUserIdFactorsFactorId(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PutAdminUsersUserIdFactorsFactorIdWithBody(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PutAdminUsersUserIdWithBody(ctx context.Context, userId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteAdminSsoProvidersSsoProviderIdWithResponse(ctx context.Context, ssoProviderId openapi_types.UUID, ...) (*DeleteAdminSsoProvidersSsoProviderIdResponse, error)
- func (c *ClientWithResponses) DeleteAdminUsersUserIdFactorsFactorIdWithResponse(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, ...) (*DeleteAdminUsersUserIdFactorsFactorIdResponse, error)
- func (c *ClientWithResponses) DeleteAdminUsersUserIdWithResponse(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAdminUsersUserIdResponse, error)
- func (c *ClientWithResponses) GetAdminAuditWithResponse(ctx context.Context, params *GetAdminAuditParams, ...) (*GetAdminAuditResponse, error)
- func (c *ClientWithResponses) GetAdminSsoProvidersSsoProviderIdWithResponse(ctx context.Context, ssoProviderId openapi_types.UUID, ...) (*GetAdminSsoProvidersSsoProviderIdResponse, error)
- func (c *ClientWithResponses) GetAdminSsoProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAdminSsoProvidersResponse, error)
- func (c *ClientWithResponses) GetAdminUsersUserIdFactorsWithResponse(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAdminUsersUserIdFactorsResponse, error)
- func (c *ClientWithResponses) GetAdminUsersUserIdWithResponse(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAdminUsersUserIdResponse, error)
- func (c *ClientWithResponses) GetAdminUsersWithResponse(ctx context.Context, params *GetAdminUsersParams, ...) (*GetAdminUsersResponse, error)
- func (c *ClientWithResponses) PostAdminSsoProvidersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAdminSsoProvidersResponse, error)
- func (c *ClientWithResponses) PostAdminSsoProvidersWithResponse(ctx context.Context, body PostAdminSsoProvidersJSONRequestBody, ...) (*PostAdminSsoProvidersResponse, error)
- func (c *ClientWithResponses) PostGenerateLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostGenerateLinkResponse, error)
- func (c *ClientWithResponses) PostGenerateLinkWithResponse(ctx context.Context, body PostGenerateLinkJSONRequestBody, ...) (*PostGenerateLinkResponse, error)
- func (c *ClientWithResponses) PostInviteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostInviteResponse, error)
- func (c *ClientWithResponses) PostInviteWithResponse(ctx context.Context, body PostInviteJSONRequestBody, ...) (*PostInviteResponse, error)
- func (c *ClientWithResponses) PutAdminSsoProvidersSsoProviderIdWithBodyWithResponse(ctx context.Context, ssoProviderId openapi_types.UUID, contentType string, ...) (*PutAdminSsoProvidersSsoProviderIdResponse, error)
- func (c *ClientWithResponses) PutAdminSsoProvidersSsoProviderIdWithResponse(ctx context.Context, ssoProviderId openapi_types.UUID, ...) (*PutAdminSsoProvidersSsoProviderIdResponse, error)
- func (c *ClientWithResponses) PutAdminUsersUserIdFactorsFactorIdWithBodyWithResponse(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, ...) (*PutAdminUsersUserIdFactorsFactorIdResponse, error)
- func (c *ClientWithResponses) PutAdminUsersUserIdFactorsFactorIdWithResponse(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, ...) (*PutAdminUsersUserIdFactorsFactorIdResponse, error)
- func (c *ClientWithResponses) PutAdminUsersUserIdWithBodyWithResponse(ctx context.Context, userId openapi_types.UUID, contentType string, ...) (*PutAdminUsersUserIdResponse, error)
- func (c *ClientWithResponses) PutAdminUsersUserIdWithResponse(ctx context.Context, userId openapi_types.UUID, ...) (*PutAdminUsersUserIdResponse, error)
- type ClientWithResponsesInterface
- type DeleteAdminSsoProvidersSsoProviderIdResponse
- type DeleteAdminUsersUserIdFactorsFactorIdResponse
- type DeleteAdminUsersUserIdResponse
- type ErrorSchema
- type ForbiddenResponse
- type GetAdminAuditParams
- type GetAdminAuditResponse
- type GetAdminSsoProvidersResponse
- type GetAdminSsoProvidersSsoProviderIdResponse
- type GetAdminUsersParams
- type GetAdminUsersResponse
- type GetAdminUsersUserIdFactorsResponse
- type GetAdminUsersUserIdResponse
- type HttpRequestDoer
- type MFAFactorSchema
- type PostAdminSsoProvidersJSONBody
- type PostAdminSsoProvidersJSONBodyType
- type PostAdminSsoProvidersJSONRequestBody
- type PostAdminSsoProvidersResponse
- type PostGenerateLinkJSONBody
- type PostGenerateLinkJSONBodyType
- type PostGenerateLinkJSONRequestBody
- type PostGenerateLinkResponse
- type PostInviteJSONBody
- type PostInviteJSONRequestBody
- type PostInviteResponse
- type PutAdminSsoProvidersSsoProviderIdJSONBody
- type PutAdminSsoProvidersSsoProviderIdJSONRequestBody
- type PutAdminSsoProvidersSsoProviderIdResponse
- type PutAdminUsersUserIdFactorsFactorIdJSONBody
- type PutAdminUsersUserIdFactorsFactorIdJSONRequestBody
- type PutAdminUsersUserIdFactorsFactorIdResponse
- type PutAdminUsersUserIdJSONRequestBody
- type PutAdminUsersUserIdResponse
- type RequestEditorFn
- type SAMLAttributeMappingSchema
- type SSOProviderSchema
- type UnauthorizedResponse
- type UserSchema
Constants ¶
const ( APIKeyAuthScopes = "APIKeyAuth.Scopes" AdminAuthScopes = "AdminAuth.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func NewDeleteAdminSsoProvidersSsoProviderIdRequest ¶
func NewDeleteAdminSsoProvidersSsoProviderIdRequest(server string, ssoProviderId openapi_types.UUID) (*http.Request, error)
NewDeleteAdminSsoProvidersSsoProviderIdRequest generates requests for DeleteAdminSsoProvidersSsoProviderId
func NewDeleteAdminUsersUserIdFactorsFactorIdRequest ¶
func NewDeleteAdminUsersUserIdFactorsFactorIdRequest(server string, userId openapi_types.UUID, factorId openapi_types.UUID) (*http.Request, error)
NewDeleteAdminUsersUserIdFactorsFactorIdRequest generates requests for DeleteAdminUsersUserIdFactorsFactorId
func NewDeleteAdminUsersUserIdRequest ¶
func NewDeleteAdminUsersUserIdRequest(server string, userId openapi_types.UUID) (*http.Request, error)
NewDeleteAdminUsersUserIdRequest generates requests for DeleteAdminUsersUserId
func NewGetAdminAuditRequest ¶
func NewGetAdminAuditRequest(server string, params *GetAdminAuditParams) (*http.Request, error)
NewGetAdminAuditRequest generates requests for GetAdminAudit
func NewGetAdminSsoProvidersRequest ¶
NewGetAdminSsoProvidersRequest generates requests for GetAdminSsoProviders
func NewGetAdminSsoProvidersSsoProviderIdRequest ¶
func NewGetAdminSsoProvidersSsoProviderIdRequest(server string, ssoProviderId openapi_types.UUID) (*http.Request, error)
NewGetAdminSsoProvidersSsoProviderIdRequest generates requests for GetAdminSsoProvidersSsoProviderId
func NewGetAdminUsersRequest ¶
func NewGetAdminUsersRequest(server string, params *GetAdminUsersParams) (*http.Request, error)
NewGetAdminUsersRequest generates requests for GetAdminUsers
func NewGetAdminUsersUserIdFactorsRequest ¶
func NewGetAdminUsersUserIdFactorsRequest(server string, userId openapi_types.UUID) (*http.Request, error)
NewGetAdminUsersUserIdFactorsRequest generates requests for GetAdminUsersUserIdFactors
func NewGetAdminUsersUserIdRequest ¶
NewGetAdminUsersUserIdRequest generates requests for GetAdminUsersUserId
func NewPostAdminSsoProvidersRequest ¶
func NewPostAdminSsoProvidersRequest(server string, body PostAdminSsoProvidersJSONRequestBody) (*http.Request, error)
NewPostAdminSsoProvidersRequest calls the generic PostAdminSsoProviders builder with application/json body
func NewPostAdminSsoProvidersRequestWithBody ¶
func NewPostAdminSsoProvidersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostAdminSsoProvidersRequestWithBody generates requests for PostAdminSsoProviders with any type of body
func NewPostGenerateLinkRequest ¶
func NewPostGenerateLinkRequest(server string, body PostGenerateLinkJSONRequestBody) (*http.Request, error)
NewPostGenerateLinkRequest calls the generic PostGenerateLink builder with application/json body
func NewPostGenerateLinkRequestWithBody ¶
func NewPostGenerateLinkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostGenerateLinkRequestWithBody generates requests for PostGenerateLink with any type of body
func NewPostInviteRequest ¶
func NewPostInviteRequest(server string, body PostInviteJSONRequestBody) (*http.Request, error)
NewPostInviteRequest calls the generic PostInvite builder with application/json body
func NewPostInviteRequestWithBody ¶
func NewPostInviteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostInviteRequestWithBody generates requests for PostInvite with any type of body
func NewPutAdminSsoProvidersSsoProviderIdRequest ¶
func NewPutAdminSsoProvidersSsoProviderIdRequest(server string, ssoProviderId openapi_types.UUID, body PutAdminSsoProvidersSsoProviderIdJSONRequestBody) (*http.Request, error)
NewPutAdminSsoProvidersSsoProviderIdRequest calls the generic PutAdminSsoProvidersSsoProviderId builder with application/json body
func NewPutAdminSsoProvidersSsoProviderIdRequestWithBody ¶
func NewPutAdminSsoProvidersSsoProviderIdRequestWithBody(server string, ssoProviderId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPutAdminSsoProvidersSsoProviderIdRequestWithBody generates requests for PutAdminSsoProvidersSsoProviderId with any type of body
func NewPutAdminUsersUserIdFactorsFactorIdRequest ¶
func NewPutAdminUsersUserIdFactorsFactorIdRequest(server string, userId openapi_types.UUID, factorId openapi_types.UUID, body PutAdminUsersUserIdFactorsFactorIdJSONRequestBody) (*http.Request, error)
NewPutAdminUsersUserIdFactorsFactorIdRequest calls the generic PutAdminUsersUserIdFactorsFactorId builder with application/json body
func NewPutAdminUsersUserIdFactorsFactorIdRequestWithBody ¶
func NewPutAdminUsersUserIdFactorsFactorIdRequestWithBody(server string, userId openapi_types.UUID, factorId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPutAdminUsersUserIdFactorsFactorIdRequestWithBody generates requests for PutAdminUsersUserIdFactorsFactorId with any type of body
func NewPutAdminUsersUserIdRequest ¶
func NewPutAdminUsersUserIdRequest(server string, userId openapi_types.UUID, body PutAdminUsersUserIdJSONRequestBody) (*http.Request, error)
NewPutAdminUsersUserIdRequest calls the generic PutAdminUsersUserId builder with application/json body
Types ¶
type BadRequestResponse ¶
type BadRequestResponse = ErrorSchema
BadRequestResponse defines model for BadRequestResponse.
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteAdminSsoProvidersSsoProviderId ¶
func (c *Client) DeleteAdminSsoProvidersSsoProviderId(ctx context.Context, ssoProviderId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteAdminUsersUserId ¶
func (c *Client) DeleteAdminUsersUserId(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteAdminUsersUserIdFactorsFactorId ¶
func (c *Client) DeleteAdminUsersUserIdFactorsFactorId(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAdminAudit ¶
func (c *Client) GetAdminAudit(ctx context.Context, params *GetAdminAuditParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAdminSsoProviders ¶
func (*Client) GetAdminSsoProvidersSsoProviderId ¶
func (c *Client) GetAdminSsoProvidersSsoProviderId(ctx context.Context, ssoProviderId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAdminUsers ¶
func (c *Client) GetAdminUsers(ctx context.Context, params *GetAdminUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAdminUsersUserId ¶
func (c *Client) GetAdminUsersUserId(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAdminUsersUserIdFactors ¶
func (c *Client) GetAdminUsersUserIdFactors(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAdminSsoProviders ¶
func (c *Client) PostAdminSsoProviders(ctx context.Context, body PostAdminSsoProvidersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAdminSsoProvidersWithBody ¶
func (*Client) PostGenerateLink ¶
func (c *Client) PostGenerateLink(ctx context.Context, body PostGenerateLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostGenerateLinkWithBody ¶
func (*Client) PostInvite ¶
func (c *Client) PostInvite(ctx context.Context, body PostInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostInviteWithBody ¶
func (*Client) PutAdminSsoProvidersSsoProviderId ¶
func (c *Client) PutAdminSsoProvidersSsoProviderId(ctx context.Context, ssoProviderId openapi_types.UUID, body PutAdminSsoProvidersSsoProviderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutAdminSsoProvidersSsoProviderIdWithBody ¶
func (*Client) PutAdminUsersUserId ¶
func (c *Client) PutAdminUsersUserId(ctx context.Context, userId openapi_types.UUID, body PutAdminUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutAdminUsersUserIdFactorsFactorId ¶
func (c *Client) PutAdminUsersUserIdFactorsFactorId(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, body PutAdminUsersUserIdFactorsFactorIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutAdminUsersUserIdFactorsFactorIdWithBody ¶
func (c *Client) PutAdminUsersUserIdFactorsFactorIdWithBody(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutAdminUsersUserIdWithBody ¶
type ClientInterface ¶
type ClientInterface interface { // GetAdminAudit request GetAdminAudit(ctx context.Context, params *GetAdminAuditParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAdminSsoProviders request GetAdminSsoProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostAdminSsoProviders request with any body PostAdminSsoProvidersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostAdminSsoProviders(ctx context.Context, body PostAdminSsoProvidersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAdminSsoProvidersSsoProviderId request DeleteAdminSsoProvidersSsoProviderId(ctx context.Context, ssoProviderId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAdminSsoProvidersSsoProviderId request GetAdminSsoProvidersSsoProviderId(ctx context.Context, ssoProviderId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) // PutAdminSsoProvidersSsoProviderId request with any body PutAdminSsoProvidersSsoProviderIdWithBody(ctx context.Context, ssoProviderId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutAdminSsoProvidersSsoProviderId(ctx context.Context, ssoProviderId openapi_types.UUID, body PutAdminSsoProvidersSsoProviderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAdminUsers request GetAdminUsers(ctx context.Context, params *GetAdminUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAdminUsersUserId request DeleteAdminUsersUserId(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAdminUsersUserId request GetAdminUsersUserId(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) // PutAdminUsersUserId request with any body PutAdminUsersUserIdWithBody(ctx context.Context, userId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutAdminUsersUserId(ctx context.Context, userId openapi_types.UUID, body PutAdminUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAdminUsersUserIdFactors request GetAdminUsersUserIdFactors(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAdminUsersUserIdFactorsFactorId request DeleteAdminUsersUserIdFactorsFactorId(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) // PutAdminUsersUserIdFactorsFactorId request with any body PutAdminUsersUserIdFactorsFactorIdWithBody(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutAdminUsersUserIdFactorsFactorId(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, body PutAdminUsersUserIdFactorsFactorIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PostGenerateLink request with any body PostGenerateLinkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostGenerateLink(ctx context.Context, body PostGenerateLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PostInvite request with any body PostInviteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostInvite(ctx context.Context, body PostInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteAdminSsoProvidersSsoProviderIdWithResponse ¶
func (c *ClientWithResponses) DeleteAdminSsoProvidersSsoProviderIdWithResponse(ctx context.Context, ssoProviderId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAdminSsoProvidersSsoProviderIdResponse, error)
DeleteAdminSsoProvidersSsoProviderIdWithResponse request returning *DeleteAdminSsoProvidersSsoProviderIdResponse
func (*ClientWithResponses) DeleteAdminUsersUserIdFactorsFactorIdWithResponse ¶
func (c *ClientWithResponses) DeleteAdminUsersUserIdFactorsFactorIdWithResponse(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAdminUsersUserIdFactorsFactorIdResponse, error)
DeleteAdminUsersUserIdFactorsFactorIdWithResponse request returning *DeleteAdminUsersUserIdFactorsFactorIdResponse
func (*ClientWithResponses) DeleteAdminUsersUserIdWithResponse ¶
func (c *ClientWithResponses) DeleteAdminUsersUserIdWithResponse(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAdminUsersUserIdResponse, error)
DeleteAdminUsersUserIdWithResponse request returning *DeleteAdminUsersUserIdResponse
func (*ClientWithResponses) GetAdminAuditWithResponse ¶
func (c *ClientWithResponses) GetAdminAuditWithResponse(ctx context.Context, params *GetAdminAuditParams, reqEditors ...RequestEditorFn) (*GetAdminAuditResponse, error)
GetAdminAuditWithResponse request returning *GetAdminAuditResponse
func (*ClientWithResponses) GetAdminSsoProvidersSsoProviderIdWithResponse ¶
func (c *ClientWithResponses) GetAdminSsoProvidersSsoProviderIdWithResponse(ctx context.Context, ssoProviderId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAdminSsoProvidersSsoProviderIdResponse, error)
GetAdminSsoProvidersSsoProviderIdWithResponse request returning *GetAdminSsoProvidersSsoProviderIdResponse
func (*ClientWithResponses) GetAdminSsoProvidersWithResponse ¶
func (c *ClientWithResponses) GetAdminSsoProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAdminSsoProvidersResponse, error)
GetAdminSsoProvidersWithResponse request returning *GetAdminSsoProvidersResponse
func (*ClientWithResponses) GetAdminUsersUserIdFactorsWithResponse ¶
func (c *ClientWithResponses) GetAdminUsersUserIdFactorsWithResponse(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAdminUsersUserIdFactorsResponse, error)
GetAdminUsersUserIdFactorsWithResponse request returning *GetAdminUsersUserIdFactorsResponse
func (*ClientWithResponses) GetAdminUsersUserIdWithResponse ¶
func (c *ClientWithResponses) GetAdminUsersUserIdWithResponse(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAdminUsersUserIdResponse, error)
GetAdminUsersUserIdWithResponse request returning *GetAdminUsersUserIdResponse
func (*ClientWithResponses) GetAdminUsersWithResponse ¶
func (c *ClientWithResponses) GetAdminUsersWithResponse(ctx context.Context, params *GetAdminUsersParams, reqEditors ...RequestEditorFn) (*GetAdminUsersResponse, error)
GetAdminUsersWithResponse request returning *GetAdminUsersResponse
func (*ClientWithResponses) PostAdminSsoProvidersWithBodyWithResponse ¶
func (c *ClientWithResponses) PostAdminSsoProvidersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAdminSsoProvidersResponse, error)
PostAdminSsoProvidersWithBodyWithResponse request with arbitrary body returning *PostAdminSsoProvidersResponse
func (*ClientWithResponses) PostAdminSsoProvidersWithResponse ¶
func (c *ClientWithResponses) PostAdminSsoProvidersWithResponse(ctx context.Context, body PostAdminSsoProvidersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAdminSsoProvidersResponse, error)
func (*ClientWithResponses) PostGenerateLinkWithBodyWithResponse ¶
func (c *ClientWithResponses) PostGenerateLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGenerateLinkResponse, error)
PostGenerateLinkWithBodyWithResponse request with arbitrary body returning *PostGenerateLinkResponse
func (*ClientWithResponses) PostGenerateLinkWithResponse ¶
func (c *ClientWithResponses) PostGenerateLinkWithResponse(ctx context.Context, body PostGenerateLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGenerateLinkResponse, error)
func (*ClientWithResponses) PostInviteWithBodyWithResponse ¶
func (c *ClientWithResponses) PostInviteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInviteResponse, error)
PostInviteWithBodyWithResponse request with arbitrary body returning *PostInviteResponse
func (*ClientWithResponses) PostInviteWithResponse ¶
func (c *ClientWithResponses) PostInviteWithResponse(ctx context.Context, body PostInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInviteResponse, error)
func (*ClientWithResponses) PutAdminSsoProvidersSsoProviderIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PutAdminSsoProvidersSsoProviderIdWithBodyWithResponse(ctx context.Context, ssoProviderId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAdminSsoProvidersSsoProviderIdResponse, error)
PutAdminSsoProvidersSsoProviderIdWithBodyWithResponse request with arbitrary body returning *PutAdminSsoProvidersSsoProviderIdResponse
func (*ClientWithResponses) PutAdminSsoProvidersSsoProviderIdWithResponse ¶
func (c *ClientWithResponses) PutAdminSsoProvidersSsoProviderIdWithResponse(ctx context.Context, ssoProviderId openapi_types.UUID, body PutAdminSsoProvidersSsoProviderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAdminSsoProvidersSsoProviderIdResponse, error)
func (*ClientWithResponses) PutAdminUsersUserIdFactorsFactorIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PutAdminUsersUserIdFactorsFactorIdWithBodyWithResponse(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAdminUsersUserIdFactorsFactorIdResponse, error)
PutAdminUsersUserIdFactorsFactorIdWithBodyWithResponse request with arbitrary body returning *PutAdminUsersUserIdFactorsFactorIdResponse
func (*ClientWithResponses) PutAdminUsersUserIdFactorsFactorIdWithResponse ¶
func (c *ClientWithResponses) PutAdminUsersUserIdFactorsFactorIdWithResponse(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, body PutAdminUsersUserIdFactorsFactorIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAdminUsersUserIdFactorsFactorIdResponse, error)
func (*ClientWithResponses) PutAdminUsersUserIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PutAdminUsersUserIdWithBodyWithResponse(ctx context.Context, userId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAdminUsersUserIdResponse, error)
PutAdminUsersUserIdWithBodyWithResponse request with arbitrary body returning *PutAdminUsersUserIdResponse
func (*ClientWithResponses) PutAdminUsersUserIdWithResponse ¶
func (c *ClientWithResponses) PutAdminUsersUserIdWithResponse(ctx context.Context, userId openapi_types.UUID, body PutAdminUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAdminUsersUserIdResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GetAdminAudit request GetAdminAuditWithResponse(ctx context.Context, params *GetAdminAuditParams, reqEditors ...RequestEditorFn) (*GetAdminAuditResponse, error) // GetAdminSsoProviders request GetAdminSsoProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAdminSsoProvidersResponse, error) // PostAdminSsoProviders request with any body PostAdminSsoProvidersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAdminSsoProvidersResponse, error) PostAdminSsoProvidersWithResponse(ctx context.Context, body PostAdminSsoProvidersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAdminSsoProvidersResponse, error) // DeleteAdminSsoProvidersSsoProviderId request DeleteAdminSsoProvidersSsoProviderIdWithResponse(ctx context.Context, ssoProviderId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAdminSsoProvidersSsoProviderIdResponse, error) // GetAdminSsoProvidersSsoProviderId request GetAdminSsoProvidersSsoProviderIdWithResponse(ctx context.Context, ssoProviderId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAdminSsoProvidersSsoProviderIdResponse, error) // PutAdminSsoProvidersSsoProviderId request with any body PutAdminSsoProvidersSsoProviderIdWithBodyWithResponse(ctx context.Context, ssoProviderId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAdminSsoProvidersSsoProviderIdResponse, error) PutAdminSsoProvidersSsoProviderIdWithResponse(ctx context.Context, ssoProviderId openapi_types.UUID, body PutAdminSsoProvidersSsoProviderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAdminSsoProvidersSsoProviderIdResponse, error) // GetAdminUsers request GetAdminUsersWithResponse(ctx context.Context, params *GetAdminUsersParams, reqEditors ...RequestEditorFn) (*GetAdminUsersResponse, error) // DeleteAdminUsersUserId request DeleteAdminUsersUserIdWithResponse(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAdminUsersUserIdResponse, error) // GetAdminUsersUserId request GetAdminUsersUserIdWithResponse(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAdminUsersUserIdResponse, error) // PutAdminUsersUserId request with any body PutAdminUsersUserIdWithBodyWithResponse(ctx context.Context, userId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAdminUsersUserIdResponse, error) PutAdminUsersUserIdWithResponse(ctx context.Context, userId openapi_types.UUID, body PutAdminUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAdminUsersUserIdResponse, error) // GetAdminUsersUserIdFactors request GetAdminUsersUserIdFactorsWithResponse(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAdminUsersUserIdFactorsResponse, error) // DeleteAdminUsersUserIdFactorsFactorId request DeleteAdminUsersUserIdFactorsFactorIdWithResponse(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAdminUsersUserIdFactorsFactorIdResponse, error) // PutAdminUsersUserIdFactorsFactorId request with any body PutAdminUsersUserIdFactorsFactorIdWithBodyWithResponse(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAdminUsersUserIdFactorsFactorIdResponse, error) PutAdminUsersUserIdFactorsFactorIdWithResponse(ctx context.Context, userId openapi_types.UUID, factorId openapi_types.UUID, body PutAdminUsersUserIdFactorsFactorIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAdminUsersUserIdFactorsFactorIdResponse, error) // PostGenerateLink request with any body PostGenerateLinkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGenerateLinkResponse, error) PostGenerateLinkWithResponse(ctx context.Context, body PostGenerateLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGenerateLinkResponse, error) // PostInvite request with any body PostInviteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInviteResponse, error) PostInviteWithResponse(ctx context.Context, body PostInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInviteResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type DeleteAdminSsoProvidersSsoProviderIdResponse ¶
type DeleteAdminSsoProvidersSsoProviderIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SSOProviderSchema JSON401 *ErrorSchema JSON403 *ErrorSchema JSON404 *ErrorSchema }
func ParseDeleteAdminSsoProvidersSsoProviderIdResponse ¶
func ParseDeleteAdminSsoProvidersSsoProviderIdResponse(rsp *http.Response) (*DeleteAdminSsoProvidersSsoProviderIdResponse, error)
ParseDeleteAdminSsoProvidersSsoProviderIdResponse parses an HTTP response from a DeleteAdminSsoProvidersSsoProviderIdWithResponse call
func (DeleteAdminSsoProvidersSsoProviderIdResponse) Status ¶
func (r DeleteAdminSsoProvidersSsoProviderIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAdminSsoProvidersSsoProviderIdResponse) StatusCode ¶
func (r DeleteAdminSsoProvidersSsoProviderIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAdminUsersUserIdFactorsFactorIdResponse ¶
type DeleteAdminUsersUserIdFactorsFactorIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *MFAFactorSchema JSON401 *ErrorSchema JSON403 *ErrorSchema JSON404 *ErrorSchema }
func ParseDeleteAdminUsersUserIdFactorsFactorIdResponse ¶
func ParseDeleteAdminUsersUserIdFactorsFactorIdResponse(rsp *http.Response) (*DeleteAdminUsersUserIdFactorsFactorIdResponse, error)
ParseDeleteAdminUsersUserIdFactorsFactorIdResponse parses an HTTP response from a DeleteAdminUsersUserIdFactorsFactorIdWithResponse call
func (DeleteAdminUsersUserIdFactorsFactorIdResponse) Status ¶
func (r DeleteAdminUsersUserIdFactorsFactorIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAdminUsersUserIdFactorsFactorIdResponse) StatusCode ¶
func (r DeleteAdminUsersUserIdFactorsFactorIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAdminUsersUserIdResponse ¶
type DeleteAdminUsersUserIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserSchema JSON401 *ErrorSchema JSON403 *ErrorSchema JSON404 *ErrorSchema }
func ParseDeleteAdminUsersUserIdResponse ¶
func ParseDeleteAdminUsersUserIdResponse(rsp *http.Response) (*DeleteAdminUsersUserIdResponse, error)
ParseDeleteAdminUsersUserIdResponse parses an HTTP response from a DeleteAdminUsersUserIdWithResponse call
func (DeleteAdminUsersUserIdResponse) Status ¶
func (r DeleteAdminUsersUserIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAdminUsersUserIdResponse) StatusCode ¶
func (r DeleteAdminUsersUserIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ErrorSchema ¶
type ErrorSchema struct { // Code The HTTP status code. Usually missing if `error` is present. Code *int `json:"code,omitempty"` // Error Certain responses will contain this property with the provided values. // // Usually one of these: // - invalid_request // - unauthorized_client // - access_denied // - server_error // - temporarily_unavailable // - unsupported_otp_type Error *string `json:"error,omitempty"` // ErrorDescription Certain responses that have an `error` property may have this property which describes the error. ErrorDescription *string `json:"error_description,omitempty"` // Msg A basic message describing the problem with the request. Usually missing if `error` is present. Msg *string `json:"msg,omitempty"` }
ErrorSchema defines model for ErrorSchema.
type ForbiddenResponse ¶
type ForbiddenResponse = ErrorSchema
ForbiddenResponse defines model for ForbiddenResponse.
type GetAdminAuditParams ¶
type GetAdminAuditParams struct { Page *int `form:"page,omitempty" json:"page,omitempty"` PerPage *int `form:"per_page,omitempty" json:"per_page,omitempty"` }
GetAdminAuditParams defines parameters for GetAdminAudit.
type GetAdminAuditResponse ¶
type GetAdminAuditResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]struct { CreatedAt *time.Time `json:"created_at,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` IpAddress *string `json:"ip_address,omitempty"` Payload *struct { // Action Usually one of these values: // - login // - logout // - invite_accepted // - user_signedup // - user_invited // - user_deleted // - user_modified // - user_recovery_requested // - user_reauthenticate_requested // - user_confirmation_requested // - user_repeated_signup // - user_updated_password // - token_revoked // - token_refreshed // - generate_recovery_codes // - factor_in_progress // - factor_unenrolled // - challenge_created // - verification_attempted // - factor_deleted // - recovery_codes_deleted // - factor_updated // - mfa_code_login Action *string `json:"action,omitempty"` ActorId *string `json:"actor_id,omitempty"` ActorName *string `json:"actor_name,omitempty"` ActorUsername *string `json:"actor_username,omitempty"` // LogType Usually one of these values: // - account // - team // - token // - user // - factor // - recovery_codes LogType *string `json:"log_type,omitempty"` Traits *map[string]interface{} `json:"traits,omitempty"` } `json:"payload,omitempty"` } JSON401 *ErrorSchema JSON403 *ErrorSchema }
func ParseGetAdminAuditResponse ¶
func ParseGetAdminAuditResponse(rsp *http.Response) (*GetAdminAuditResponse, error)
ParseGetAdminAuditResponse parses an HTTP response from a GetAdminAuditWithResponse call
func (GetAdminAuditResponse) Status ¶
func (r GetAdminAuditResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdminAuditResponse) StatusCode ¶
func (r GetAdminAuditResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdminSsoProvidersResponse ¶
type GetAdminSsoProvidersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Items *[]SSOProviderSchema `json:"items,omitempty"` } }
func ParseGetAdminSsoProvidersResponse ¶
func ParseGetAdminSsoProvidersResponse(rsp *http.Response) (*GetAdminSsoProvidersResponse, error)
ParseGetAdminSsoProvidersResponse parses an HTTP response from a GetAdminSsoProvidersWithResponse call
func (GetAdminSsoProvidersResponse) Status ¶
func (r GetAdminSsoProvidersResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdminSsoProvidersResponse) StatusCode ¶
func (r GetAdminSsoProvidersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdminSsoProvidersSsoProviderIdResponse ¶
type GetAdminSsoProvidersSsoProviderIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SSOProviderSchema JSON401 *ErrorSchema JSON403 *ErrorSchema JSON404 *ErrorSchema }
func ParseGetAdminSsoProvidersSsoProviderIdResponse ¶
func ParseGetAdminSsoProvidersSsoProviderIdResponse(rsp *http.Response) (*GetAdminSsoProvidersSsoProviderIdResponse, error)
ParseGetAdminSsoProvidersSsoProviderIdResponse parses an HTTP response from a GetAdminSsoProvidersSsoProviderIdWithResponse call
func (GetAdminSsoProvidersSsoProviderIdResponse) Status ¶
func (r GetAdminSsoProvidersSsoProviderIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdminSsoProvidersSsoProviderIdResponse) StatusCode ¶
func (r GetAdminSsoProvidersSsoProviderIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdminUsersParams ¶
type GetAdminUsersParams struct { Page *int `form:"page,omitempty" json:"page,omitempty"` PerPage *int `form:"per_page,omitempty" json:"per_page,omitempty"` }
GetAdminUsersParams defines parameters for GetAdminUsers.
type GetAdminUsersResponse ¶
type GetAdminUsersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Aud *string `json:"aud,omitempty"` Users *[]UserSchema `json:"users,omitempty"` } JSON401 *ErrorSchema JSON403 *ErrorSchema }
func ParseGetAdminUsersResponse ¶
func ParseGetAdminUsersResponse(rsp *http.Response) (*GetAdminUsersResponse, error)
ParseGetAdminUsersResponse parses an HTTP response from a GetAdminUsersWithResponse call
func (GetAdminUsersResponse) Status ¶
func (r GetAdminUsersResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdminUsersResponse) StatusCode ¶
func (r GetAdminUsersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdminUsersUserIdFactorsResponse ¶
type GetAdminUsersUserIdFactorsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]MFAFactorSchema JSON401 *ErrorSchema JSON403 *ErrorSchema JSON404 *ErrorSchema }
func ParseGetAdminUsersUserIdFactorsResponse ¶
func ParseGetAdminUsersUserIdFactorsResponse(rsp *http.Response) (*GetAdminUsersUserIdFactorsResponse, error)
ParseGetAdminUsersUserIdFactorsResponse parses an HTTP response from a GetAdminUsersUserIdFactorsWithResponse call
func (GetAdminUsersUserIdFactorsResponse) Status ¶
func (r GetAdminUsersUserIdFactorsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdminUsersUserIdFactorsResponse) StatusCode ¶
func (r GetAdminUsersUserIdFactorsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdminUsersUserIdResponse ¶
type GetAdminUsersUserIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserSchema JSON401 *ErrorSchema JSON403 *ErrorSchema JSON404 *ErrorSchema }
func ParseGetAdminUsersUserIdResponse ¶
func ParseGetAdminUsersUserIdResponse(rsp *http.Response) (*GetAdminUsersUserIdResponse, error)
ParseGetAdminUsersUserIdResponse parses an HTTP response from a GetAdminUsersUserIdWithResponse call
func (GetAdminUsersUserIdResponse) Status ¶
func (r GetAdminUsersUserIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdminUsersUserIdResponse) StatusCode ¶
func (r GetAdminUsersUserIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type MFAFactorSchema ¶
type MFAFactorSchema struct { // FactorType Usually one of: // - totp FactorType *string `json:"factor_type,omitempty"` FriendlyName *string `json:"friendly_name,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` // Status Usually one of: // - verified // - unverified Status *string `json:"status,omitempty"` }
MFAFactorSchema Represents a MFA factor.
type PostAdminSsoProvidersJSONBody ¶
type PostAdminSsoProvidersJSONBody struct { AttributeMapping *SAMLAttributeMappingSchema `json:"attribute_mapping,omitempty"` Domains *[]string `json:"domains,omitempty"` MetadataUrl *string `json:"metadata_url,omitempty"` MetadataXml *string `json:"metadata_xml,omitempty"` Type PostAdminSsoProvidersJSONBodyType `json:"type"` }
PostAdminSsoProvidersJSONBody defines parameters for PostAdminSsoProviders.
type PostAdminSsoProvidersJSONBodyType ¶
type PostAdminSsoProvidersJSONBodyType string
PostAdminSsoProvidersJSONBodyType defines parameters for PostAdminSsoProviders.
const (
Saml PostAdminSsoProvidersJSONBodyType = "saml"
)
Defines values for PostAdminSsoProvidersJSONBodyType.
type PostAdminSsoProvidersJSONRequestBody ¶
type PostAdminSsoProvidersJSONRequestBody PostAdminSsoProvidersJSONBody
PostAdminSsoProvidersJSONRequestBody defines body for PostAdminSsoProviders for application/json ContentType.
type PostAdminSsoProvidersResponse ¶
type PostAdminSsoProvidersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SSOProviderSchema JSON400 *ErrorSchema JSON401 *ErrorSchema JSON403 *ErrorSchema }
func ParsePostAdminSsoProvidersResponse ¶
func ParsePostAdminSsoProvidersResponse(rsp *http.Response) (*PostAdminSsoProvidersResponse, error)
ParsePostAdminSsoProvidersResponse parses an HTTP response from a PostAdminSsoProvidersWithResponse call
func (PostAdminSsoProvidersResponse) Status ¶
func (r PostAdminSsoProvidersResponse) Status() string
Status returns HTTPResponse.Status
func (PostAdminSsoProvidersResponse) StatusCode ¶
func (r PostAdminSsoProvidersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostGenerateLinkJSONBody ¶
type PostGenerateLinkJSONBody struct { Data *map[string]interface{} `json:"data,omitempty"` Email openapi_types.Email `json:"email"` NewEmail *openapi_types.Email `json:"new_email,omitempty"` Password *string `json:"password,omitempty"` RedirectTo *string `json:"redirect_to,omitempty"` Type PostGenerateLinkJSONBodyType `json:"type"` }
PostGenerateLinkJSONBody defines parameters for PostGenerateLink.
type PostGenerateLinkJSONBodyType ¶
type PostGenerateLinkJSONBodyType string
PostGenerateLinkJSONBodyType defines parameters for PostGenerateLink.
const ( EmailChangeCurrent PostGenerateLinkJSONBodyType = "email_change_current" EmailChangeNew PostGenerateLinkJSONBodyType = "email_change_new" Magiclink PostGenerateLinkJSONBodyType = "magiclink" Recovery PostGenerateLinkJSONBodyType = "recovery" Signup PostGenerateLinkJSONBodyType = "signup" )
Defines values for PostGenerateLinkJSONBodyType.
type PostGenerateLinkJSONRequestBody ¶
type PostGenerateLinkJSONRequestBody PostGenerateLinkJSONBody
PostGenerateLinkJSONRequestBody defines body for PostGenerateLink for application/json ContentType.
type PostGenerateLinkResponse ¶
type PostGenerateLinkResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { ActionLink *string `json:"action_link,omitempty"` EmailOtp *string `json:"email_otp,omitempty"` HashedToken *string `json:"hashed_token,omitempty"` RedirectTo *string `json:"redirect_to,omitempty"` VerificationType *string `json:"verification_type,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } JSON400 *ErrorSchema JSON401 *ErrorSchema JSON403 *ErrorSchema JSON404 *ErrorSchema JSON422 *ErrorSchema }
func ParsePostGenerateLinkResponse ¶
func ParsePostGenerateLinkResponse(rsp *http.Response) (*PostGenerateLinkResponse, error)
ParsePostGenerateLinkResponse parses an HTTP response from a PostGenerateLinkWithResponse call
func (PostGenerateLinkResponse) Status ¶
func (r PostGenerateLinkResponse) Status() string
Status returns HTTPResponse.Status
func (PostGenerateLinkResponse) StatusCode ¶
func (r PostGenerateLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostInviteJSONBody ¶
type PostInviteJSONBody struct { Data *map[string]interface{} `json:"data,omitempty"` Email string `json:"email"` }
PostInviteJSONBody defines parameters for PostInvite.
type PostInviteJSONRequestBody ¶
type PostInviteJSONRequestBody PostInviteJSONBody
PostInviteJSONRequestBody defines body for PostInvite for application/json ContentType.
type PostInviteResponse ¶
type PostInviteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserSchema JSON400 *ErrorSchema JSON422 *ErrorSchema }
func ParsePostInviteResponse ¶
func ParsePostInviteResponse(rsp *http.Response) (*PostInviteResponse, error)
ParsePostInviteResponse parses an HTTP response from a PostInviteWithResponse call
func (PostInviteResponse) Status ¶
func (r PostInviteResponse) Status() string
Status returns HTTPResponse.Status
func (PostInviteResponse) StatusCode ¶
func (r PostInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutAdminSsoProvidersSsoProviderIdJSONBody ¶
type PutAdminSsoProvidersSsoProviderIdJSONBody struct { AttributeMapping *SAMLAttributeMappingSchema `json:"attribute_mapping,omitempty"` Domains *[]string `json:"domains,omitempty"` MetadataUrl *string `json:"metadata_url,omitempty"` MetadataXml *string `json:"metadata_xml,omitempty"` }
PutAdminSsoProvidersSsoProviderIdJSONBody defines parameters for PutAdminSsoProvidersSsoProviderId.
type PutAdminSsoProvidersSsoProviderIdJSONRequestBody ¶
type PutAdminSsoProvidersSsoProviderIdJSONRequestBody PutAdminSsoProvidersSsoProviderIdJSONBody
PutAdminSsoProvidersSsoProviderIdJSONRequestBody defines body for PutAdminSsoProvidersSsoProviderId for application/json ContentType.
type PutAdminSsoProvidersSsoProviderIdResponse ¶
type PutAdminSsoProvidersSsoProviderIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SSOProviderSchema JSON400 *ErrorSchema JSON401 *ErrorSchema JSON403 *ErrorSchema JSON404 *ErrorSchema }
func ParsePutAdminSsoProvidersSsoProviderIdResponse ¶
func ParsePutAdminSsoProvidersSsoProviderIdResponse(rsp *http.Response) (*PutAdminSsoProvidersSsoProviderIdResponse, error)
ParsePutAdminSsoProvidersSsoProviderIdResponse parses an HTTP response from a PutAdminSsoProvidersSsoProviderIdWithResponse call
func (PutAdminSsoProvidersSsoProviderIdResponse) Status ¶
func (r PutAdminSsoProvidersSsoProviderIdResponse) Status() string
Status returns HTTPResponse.Status
func (PutAdminSsoProvidersSsoProviderIdResponse) StatusCode ¶
func (r PutAdminSsoProvidersSsoProviderIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutAdminUsersUserIdFactorsFactorIdJSONBody ¶
type PutAdminUsersUserIdFactorsFactorIdJSONBody = map[string]interface{}
PutAdminUsersUserIdFactorsFactorIdJSONBody defines parameters for PutAdminUsersUserIdFactorsFactorId.
type PutAdminUsersUserIdFactorsFactorIdJSONRequestBody ¶
type PutAdminUsersUserIdFactorsFactorIdJSONRequestBody = PutAdminUsersUserIdFactorsFactorIdJSONBody
PutAdminUsersUserIdFactorsFactorIdJSONRequestBody defines body for PutAdminUsersUserIdFactorsFactorId for application/json ContentType.
type PutAdminUsersUserIdFactorsFactorIdResponse ¶
type PutAdminUsersUserIdFactorsFactorIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *MFAFactorSchema JSON401 *ErrorSchema JSON403 *ErrorSchema JSON404 *ErrorSchema }
func ParsePutAdminUsersUserIdFactorsFactorIdResponse ¶
func ParsePutAdminUsersUserIdFactorsFactorIdResponse(rsp *http.Response) (*PutAdminUsersUserIdFactorsFactorIdResponse, error)
ParsePutAdminUsersUserIdFactorsFactorIdResponse parses an HTTP response from a PutAdminUsersUserIdFactorsFactorIdWithResponse call
func (PutAdminUsersUserIdFactorsFactorIdResponse) Status ¶
func (r PutAdminUsersUserIdFactorsFactorIdResponse) Status() string
Status returns HTTPResponse.Status
func (PutAdminUsersUserIdFactorsFactorIdResponse) StatusCode ¶
func (r PutAdminUsersUserIdFactorsFactorIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutAdminUsersUserIdJSONRequestBody ¶
type PutAdminUsersUserIdJSONRequestBody = UserSchema
PutAdminUsersUserIdJSONRequestBody defines body for PutAdminUsersUserId for application/json ContentType.
type PutAdminUsersUserIdResponse ¶
type PutAdminUsersUserIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserSchema JSON401 *ErrorSchema JSON403 *ErrorSchema JSON404 *ErrorSchema }
func ParsePutAdminUsersUserIdResponse ¶
func ParsePutAdminUsersUserIdResponse(rsp *http.Response) (*PutAdminUsersUserIdResponse, error)
ParsePutAdminUsersUserIdResponse parses an HTTP response from a PutAdminUsersUserIdWithResponse call
func (PutAdminUsersUserIdResponse) Status ¶
func (r PutAdminUsersUserIdResponse) Status() string
Status returns HTTPResponse.Status
func (PutAdminUsersUserIdResponse) StatusCode ¶
func (r PutAdminUsersUserIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SAMLAttributeMappingSchema ¶
type SAMLAttributeMappingSchema struct {
Keys *map[string]interface{} `json:"keys,omitempty"`
}
SAMLAttributeMappingSchema defines model for SAMLAttributeMappingSchema.
type SSOProviderSchema ¶
type SSOProviderSchema struct { Id *openapi_types.UUID `json:"id,omitempty"` Saml *struct { AttributeMapping *SAMLAttributeMappingSchema `json:"attribute_mapping,omitempty"` EntityId *string `json:"entity_id,omitempty"` MetadataUrl *string `json:"metadata_url,omitempty"` MetadataXml *string `json:"metadata_xml,omitempty"` } `json:"saml,omitempty"` SsoDomains *[]struct { Domain *string `json:"domain,omitempty"` } `json:"sso_domains,omitempty"` }
SSOProviderSchema defines model for SSOProviderSchema.
type UnauthorizedResponse ¶
type UnauthorizedResponse = ErrorSchema
UnauthorizedResponse defines model for UnauthorizedResponse.
type UserSchema ¶
type UserSchema struct { AppMetadata *map[string]interface{} `json:"app_metadata,omitempty"` Aud *string `json:"aud,omitempty"` BannedUntil *time.Time `json:"banned_until,omitempty"` ConfirmationSentAt *time.Time `json:"confirmation_sent_at,omitempty"` ConfirmedAt *time.Time `json:"confirmed_at,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` DeletedAt *time.Time `json:"deleted_at,omitempty"` // Email User's primary contact email. In most cases you can uniquely identify a user by their email address, but not in all cases. Email *string `json:"email,omitempty"` EmailChangeSentAt *time.Time `json:"email_change_sent_at,omitempty"` EmailConfirmedAt *time.Time `json:"email_confirmed_at,omitempty"` Factors *[]MFAFactorSchema `json:"factors,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Identities *[]map[string]interface{} `json:"identities,omitempty"` LastSignInAt *time.Time `json:"last_sign_in_at,omitempty"` NewEmail *openapi_types.Email `json:"new_email,omitempty"` NewPhone *string `json:"new_phone,omitempty"` // Phone User's primary contact phone number. In most cases you can uniquely identify a user by their phone number, but not in all cases. Phone *string `json:"phone,omitempty"` PhoneChangeSentAt *time.Time `json:"phone_change_sent_at,omitempty"` PhoneConfirmedAt *time.Time `json:"phone_confirmed_at,omitempty"` ReauthenticationSentAt *time.Time `json:"reauthentication_sent_at,omitempty"` RecoverySentAt *time.Time `json:"recovery_sent_at,omitempty"` Role *string `json:"role,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` UserMetadata *map[string]interface{} `json:"user_metadata,omitempty"` }
UserSchema Object describing the user related to the issued access and refresh tokens.