Documentation ¶
Index ¶
- type BaseBuilder
- func (b *BaseBuilder) AsService() thing.Builder
- func (b *BaseBuilder) AuthenticateThing(thingID string, audience string, keyID string, key crypto.Signer, ...) thing.Builder
- func (b *BaseBuilder) ConnectTo(u *url.URL) thing.Builder
- func (b *BaseBuilder) Create() (thing.Thing, error)
- func (b *BaseBuilder) HandleCallbacksWith(handlers ...callback.Handler) thing.Builder
- func (b *BaseBuilder) InRealm(realm string) thing.Builder
- func (b *BaseBuilder) RegisterThing(certificates []*x509.Certificate, claims func() interface{}) thing.Builder
- func (b *BaseBuilder) TimeoutRequestAfter(d time.Duration) thing.Builder
- func (b *BaseBuilder) WithConnection(connection client.Connection) thing.Builder
- func (b *BaseBuilder) WithTree(tree string) thing.Builder
- type DefaultThing
- func (t *DefaultThing) IntrospectAccessToken(token string) (introspection thing.IntrospectionResponse, err error)
- func (t *DefaultThing) Logout() error
- func (t *DefaultThing) RequestAccessToken(scopes ...string) (response thing.AccessTokenResponse, err error)
- func (t *DefaultThing) RequestAttributes(names ...string) (response thing.AttributesResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseBuilder ¶
type BaseBuilder struct {
// contains filtered or unexported fields
}
func (*BaseBuilder) AsService ¶
func (b *BaseBuilder) AsService() thing.Builder
func (*BaseBuilder) AuthenticateThing ¶
func (*BaseBuilder) HandleCallbacksWith ¶
func (b *BaseBuilder) HandleCallbacksWith(handlers ...callback.Handler) thing.Builder
func (*BaseBuilder) RegisterThing ¶
func (b *BaseBuilder) RegisterThing(certificates []*x509.Certificate, claims func() interface{}) thing.Builder
func (*BaseBuilder) TimeoutRequestAfter ¶
func (b *BaseBuilder) TimeoutRequestAfter(d time.Duration) thing.Builder
func (*BaseBuilder) WithConnection ¶
func (b *BaseBuilder) WithConnection(connection client.Connection) thing.Builder
type DefaultThing ¶
type DefaultThing struct {
// contains filtered or unexported fields
}
func (*DefaultThing) IntrospectAccessToken ¶
func (t *DefaultThing) IntrospectAccessToken(token string) (introspection thing.IntrospectionResponse, err error)
func (*DefaultThing) Logout ¶
func (t *DefaultThing) Logout() error
func (*DefaultThing) RequestAccessToken ¶
func (t *DefaultThing) RequestAccessToken(scopes ...string) (response thing.AccessTokenResponse, err error)
func (*DefaultThing) RequestAttributes ¶
func (t *DefaultThing) RequestAttributes(names ...string) (response thing.AttributesResponse, err error)
Click to show internal directories.
Click to hide internal directories.