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.
 
 
 

26 lines
420 B

package realms
import (
"github.com/matrix-org/go-neb/types"
)
type githubRealm struct {
id string
ClientSecret string
ClientID string
WebhookEndpoint string
}
func (r *githubRealm) ID() string {
return r.id
}
func (r *githubRealm) Type() string {
return "github"
}
func init() {
types.RegisterAuthRealm(func(realmID string) types.AuthRealm {
return &githubRealm{id: realmID}
})
}