Versions in this module Expand all Collapse all v3 v3.0.0 Oct 8, 2026 Changes in this version + const InvalidGrant + const InvalidScope + const Temporary + type Failure struct + Code string + Description string + RetryAfter string + type Request struct + ClientID string + Scope string + Token string + type Result struct + AccessExpiry time.Time + AccessToken string + DPoPJKT string + IDToken string + RefreshToken string + SID string + Scope string + type Service struct + func NewService(cfg *config.Config, store *statedb.Store, signer *tokens.Signer, ...) *Service + func (s *Service) Exchange(ctx context.Context, req Request) (Result, *Failure) Other modules containing this package github.com/truster-dev/truster/v2