Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TOKENS ¶
type TOKENS interface { CreateToken(string, *models_pkg.TokensRequest, *string, *string) (*models_pkg.TokensResponse, error) GetToken(string, string, *string) (*models_pkg.TokensResponse, error) }
* Interface for the TOKENS_IMPL
type TOKENS_IMPL ¶
type TOKENS_IMPL struct {
// contains filtered or unexported fields
}
* Client structure as interface implementation
func NewTOKENS ¶
func NewTOKENS(config configuration_pkg.CONFIGURATION) *TOKENS_IMPL
* Factory for the TOKENS interaface returning TOKENS_IMPL
func (*TOKENS_IMPL) CreateToken ¶
func (me *TOKENS_IMPL) CreateToken( publicKey string, body *models_pkg.TokensRequest, idempotencyKey *string, appId *string) (*models_pkg.TokensResponse, error)
*
- CreateToken
- @param string publicKey parameter: Required
- @param *models_pkg.TokensRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @param *string appId parameter: Optional
- @return Returns the *models_pkg.TokensResponse response from the API call
func (*TOKENS_IMPL) GetToken ¶
func (me *TOKENS_IMPL) GetToken( id string, publicKey string, appId *string) (*models_pkg.TokensResponse, error)
*
- Gets a token from its id
- @param string id parameter: Required
- @param string publicKey parameter: Required
- @param *string appId parameter: Optional
- @return Returns the *models_pkg.TokensResponse response from the API call
Click to show internal directories.
Click to hide internal directories.