authenticate

package
v0.0.0-...-5339e54 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

* BSD 3-Clause License * Copyright © 2020. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

* BSD 3-Clause License * Copyright © 2020. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New function for the activity

Types

type Activity

type Activity struct {
}

Activity is an activity that is used to invoke a REST Operation

func (*Activity) Eval

func (a *Activity) Eval(ctx activity.Context) (done bool, err error)

Eval implements api.Activity.Eval - Create the hash

func (*Activity) Metadata

func (a *Activity) Metadata() *activity.Metadata

Metadata for the activity

type Input

type Input struct {
	Region   string `md:"region"`   // Data for the hash
	Tenant   string `md:"tenant"`   // LiveApps element: allowed values are action and workitem
	Username string `md:"username"` // LiveApps case reference
	Password string `md:"password"` // LiveApps application ID
	ClientID string `md:"clientID"` // LiveApps application ID
	Version  string `md:"version"`  // LiveApps application ID
}

Input for the activity

func (*Input) FromMap

func (i *Input) FromMap(values map[string]interface{}) error

FromMap for input structure

func (*Input) ToMap

func (i *Input) ToMap() map[string]interface{}

ToMap for input structure

type Output

type Output struct {
	Cookie map[string]interface{} `md:"cookie"`
}

Output for the activity

func (*Output) FromMap

func (o *Output) FromMap(values map[string]interface{}) error

FromMap convert to object

func (*Output) ToMap

func (o *Output) ToMap() map[string]interface{}

ToMap conver to object

type Settings

type Settings struct {
}

Settings for the activity

Jump to

Keyboard shortcuts

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