github.com/code-to-go/safepool.lib@v0.0.0-20221205180519-ee25e63c226e/model_/access.go_ (about)

     1  package model
     2  
     3  import (
     4  	"github.com/code-to-go/safepool.lib/transport"
     5  )
     6  
     7  type Identity []byte
     8  
     9  type Access struct {
    10  	Domain    string
    11  	Granted   bool
    12  	Exchanges []transport.Config
    13  }
    14  
    15  type AccessToken struct {
    16  	Access    Access
    17  	Transport Transport
    18  	Identity  Identity
    19  }