Files
threshold/internal/auth/subtype.go
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
493 B
Go
Raw Normal View History

package auth
import (
"github.com/hashicorp/boundary/internal/boundary"
)
// Domain defines the domain for the auth package.
const Domain = "auth"
2021-04-08 20:54:32 -04:00
// AuthMethod contains the common methods across all the different types of auth methods.
type AuthMethod interface {
boundary.Resource
2021-04-08 20:54:32 -04:00
GetScopeId() string
GetIsPrimaryAuthMethod() bool
}
type Account interface {
boundary.Resource
2021-04-08 20:54:32 -04:00
GetAuthMethodId() string
}
2021-06-01 14:12:34 -05:00
type ManagedGroup interface {
boundary.Resource
2021-06-01 14:12:34 -05:00
GetAuthMethodId() string
}