You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/internal/auth/subtype.go

29 lines
556 B

package auth
import (
"github.com/hashicorp/boundary/internal/boundary"
)
// Domain defines the domain for the auth package.
const Domain = "auth"
// AuthMethod contains the common methods across all the different types of auth methods.
type AuthMethod interface {
boundary.Resource
GetScopeId() string
GetIsPrimaryAuthMethod() bool
}
type Account interface {
boundary.Resource
GetAuthMethodId() string
GetLoginName() string
GetEmail() string
GetSubject() string
}
type ManagedGroup interface {
boundary.Resource
GetAuthMethodId() string
}