Documentation ¶
Index ¶
Constants ¶
View Source
const OauthBearerTokenMaxValidity = 5
OauthBearerTokenMaxValidity is the number of seconds that a bearer token is valid
Variables ¶
View Source
var ErrLegalEntityNotProvided = errors.New("legalEntity not provided")
ErrLegalEntityNotProvided indicates that the legalEntity is missing
Functions ¶
func NewOAuthService ¶
func NewOAuthService(vendorID core.PartyID, cryptoClient nutsCrypto.Client, registryClient nutsRegistry.RegistryClient, contractClient services.ContractClient) services.OAuthClient
NewOAuthService accepts a vendorID, and several Nuts engines and returns an implementation of services.OAuthClient
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.