core

package
v0.0.0-...-c103791 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func New

func New(logger logger.Logger, noona noona.Service, store store.Store) (Service, error)

func (Service) GetUserFromIDToken

func (s Service) GetUserFromIDToken(IDToken string) (*noonasdk.User, error)

func (Service) OnboardUser

func (s Service) OnboardUser(code string) (*noonasdk.User, error)

func (Service) ProcessWebhookCallback

func (s Service) ProcessWebhookCallback(callback noonasdk.CallbackData) error

ProcessWebhookCallback processes a webhook callback from Noona Returning an error will cause the webhook to be retried Returning nil will acknowledge the webhook

func (Service) UninstallApp

func (s Service) UninstallApp(IDToken string) error

Jump to

Keyboard shortcuts

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