gateway

package
v0.0.0-...-e9625fd Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizationGateway

type AuthorizationGateway struct {
}

func (*AuthorizationGateway) GetAccessToken

func (a *AuthorizationGateway) GetAccessToken(oURI, code, rURI string) (valueobject.AccessToken, error)

func (*AuthorizationGateway) GetAuthorizePage

func (a *AuthorizationGateway) GetAuthorizePage(oURI, cID, resType, rURI string) (string, error)

type ResourceGateway

type ResourceGateway struct {
	ResourceSrvURL string
}

func (*ResourceGateway) FetchUserResource

func (r *ResourceGateway) FetchUserResource(accessToken string) (TmpResource, error)

type TmpResource

type TmpResource struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

TmpResource is tmp. TODO:

Jump to

Keyboard shortcuts

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