Sha256: 3e950a69a6dcd638dc6dcdff21279bc4fe7522e76291f347a7b012128f31bfb9

Contents?: true

Size: 396 Bytes

Versions: 16

Compression:

Stored size: 396 Bytes

Contents

package dbus

// AuthAnonymous returns an Auth that uses the ANONYMOUS mechanism.
func AuthAnonymous() Auth {
	return &authAnonymous{}
}

type authAnonymous struct{}

func (a *authAnonymous) FirstData() (name, resp []byte, status AuthStatus) {
	return []byte("ANONYMOUS"), nil, AuthOk
}

func (a *authAnonymous) HandleData(data []byte) (resp []byte, status AuthStatus) {
	return nil, AuthError
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruby_snowflake_client-1.3.7 ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.3.6 ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.3.5 ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.3.4 ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.3.4.pre.debug ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.3.3.pre.debug ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.3.2 ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.3.1 ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.3.0 ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.2.1 ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.2.0 ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.1.1 ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.1.0 ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.0.2 ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.0.1 ext/vendor/github.com/godbus/dbus/auth_anonymous.go
ruby_snowflake_client-1.0.0 ext/vendor/github.com/godbus/dbus/auth_anonymous.go