getidtoken

package
v0.0.0-...-9885c0b Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

* Copyright © 2023. Mark Mussett. * 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

Types

type Activity

type Activity struct {
}

func (*Activity) Eval

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

func (*Activity) Metadata

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

type Input

type Input struct {
	Url string `md:"url"`
}

func (*Input) FromMap

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

FromMap conversion

func (*Input) ToMap

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

ToMap conversion

type Output

type Output struct {
	AccessToken  string `md:"accessToken"`
	TokenType    string `md:"tokenType"`
	RefreshToken string `md:"refreshToken"`
	Expiry       string `md:"expiry"`
}

Output struct for activity output

func (*Output) FromMap

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

FromMap conversion

func (*Output) ToMap

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

ToMap conversion

Jump to

Keyboard shortcuts

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