oauth

package
v0.0.0-...-4bd82ba Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateTokenAuthCodeService

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

type CreateTokenClientCredentialService

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

func (*CreateTokenClientCredentialService) Handle

type ICreateTokenService

type ICreateTokenService interface {
	Handle(ctx context.Context) (*entities.Token, domainErrors.DomainError)
}

func NewCreateTokenAuthCodeService

func NewCreateTokenAuthCodeService(
	command *oauth.CreateTokenClientCredentialCommand,
	oauthClientRepository repositories.IOauthClientRepository,
	oauthAccessTokenRepository repositories.IOauthAccessTokenRepository,
) ICreateTokenService

func NewCreateTokenClientCredentialService

func NewCreateTokenClientCredentialService(
	command *oauth.CreateTokenClientCredentialCommand,
	oauthClientRepository repositories.IOauthClientRepository,
	oauthAccessTokenRepository repositories.IOauthAccessTokenRepository,
) ICreateTokenService

Jump to

Keyboard shortcuts

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