application

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2025 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationBaseModel added in v0.0.3

type ApplicationBaseModel struct {
	Id               string `json:"id"`
	Name             string `json:"name"`
	ClientId         string `json:"client_id"`
	ClientSecret     string `json:"client_secret"`
	RedirectURL      string `json:"redirect_url"`
	AuthorizedScopes string `json:"scope"`
}

type ApplicationBasicInfoResponseModel added in v0.0.6

type ApplicationBasicInfoResponseModel struct {
	Id               string `json:"id"`
	Name             string `json:"name"`
	ClientId         string `json:"client_id"`
	ClientSecret     string `json:"client_secret"`
	RedirectURL      string `json:"redirect_url"`
	AuthorizedScopes string `json:"scope"`
}

type ApplicationBasicInfoUpdateModel added in v0.0.6

type ApplicationBasicInfoUpdateModel struct {
	Name            *string `json:"name,omitempty"`
	Description     *string `json:"description,omitempty"`
	ImageUrl        *string `json:"imageUrl,omitempty"`
	AccessUrl       *string `json:"accessUrl,omitempty"`
	LogoutReturnUrl *string `json:"logoutReturnUrl,omitempty"`
}

ApplicationBasicInfoUpdateModel defines a simplified model for updating basic application information

type ApplicationClient

type ApplicationClient struct {
	// contains filtered or unexported fields
}

ApplicationClient is a wrapper around the generated client for the Application Management API

func New

New creates a new Application Management API client

func (*ApplicationClient) AuthorizeAPI added in v0.0.4

func (c *ApplicationClient) AuthorizeAPI(ctx context.Context, appID string, apiAuthorization AuthorizedAPICreateModel) error

AuthorizeAPI authorizes an application to access an API with specified scopes

func (*ApplicationClient) CreateM2MApp added in v0.0.3

CreateM2MApp creates a new Machine-to-Machine (M2M) Application

func (*ApplicationClient) CreateMobileApp added in v0.0.3

func (c *ApplicationClient) CreateMobileApp(ctx context.Context, name string, redirectURL string) (*ApplicationBasicInfoResponseModel, error)

CreateMobileApp creates a new Mobile Application with sensible defaults

func (*ApplicationClient) CreateSinglePageApp added in v0.0.3

func (c *ApplicationClient) CreateSinglePageApp(ctx context.Context, name string, redirectURL string) (*ApplicationBasicInfoResponseModel, error)

CreateSinglePageApp creates a new Single Page Application with sensible defaults

func (*ApplicationClient) GenerateLoginFlow added in v0.0.5

func (c *ApplicationClient) GenerateLoginFlow(ctx context.Context, prompt string) (*LoginFlowGenerateResponseModel, error)

func (*ApplicationClient) GetByClienId added in v0.0.3

GetByClienId finds an application by clientId and returns its details todo: improve application details being fetched beyond appId, name, clientId and clientSecret

func (*ApplicationClient) GetByName added in v0.0.3

GetByName finds an application by name and returns its details todo: improve application details being fetched beyond appId, name, clientId and clientSecret

func (*ApplicationClient) GetLoginFlowGenerationResult added in v0.0.5

func (c *ApplicationClient) GetLoginFlowGenerationResult(ctx context.Context, flowId string) (*LoginFlowResultResponseModel, error)

func (*ApplicationClient) GetLoginFlowGenerationStatus added in v0.0.5

func (c *ApplicationClient) GetLoginFlowGenerationStatus(ctx context.Context, flowId string) (*LoginFlowStatusResponseModel, error)

func (*ApplicationClient) List

func (c *ApplicationClient) List(ctx context.Context, limit, offset int) (*ApplicationListResponseModel, error)

func (*ApplicationClient) UpdateBasicInfo added in v0.0.6

UpdateBasicInfo updates basic information of an existing application

type ApplicationListResponseModel added in v0.0.6

type ApplicationListResponseModel = internal.ApplicationListResponse

type AuthorizedAPICreateModel added in v0.0.6

type AuthorizedAPICreateModel = internal.AddAuthorizedAPIJSONRequestBody

type LoginFlowGenerateResponseModel added in v0.0.6

type LoginFlowGenerateResponseModel = internal.LoginFlowGenerateResponse

type LoginFlowResultResponseModel added in v0.0.6

type LoginFlowResultResponseModel = internal.LoginFlowResultResponse

type LoginFlowStatusResponseModel added in v0.0.6

type LoginFlowStatusResponseModel = internal.LoginFlowStatusResponse

Directories

Path Synopsis
Package internal provides primitives to interact with the openapi HTTP API.
Package internal provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL