Change Authentification
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -78,10 +78,6 @@ func NewService(
|
||||
}
|
||||
}
|
||||
|
||||
func (s *Service) GetEncryptionKey() cipher.EncryptionKey {
|
||||
return s.encryptionKey
|
||||
}
|
||||
|
||||
func (s *Service) WithTenant(tenantID gid.TenantID) *TenantService {
|
||||
tenantService := &TenantService{
|
||||
pg: s.pg,
|
||||
@@ -106,3 +102,7 @@ func (s *Service) WithTenant(tenantID gid.TenantID) *TenantService {
|
||||
|
||||
return tenantService
|
||||
}
|
||||
|
||||
func (s *Service) GetTokenSecret() string {
|
||||
return s.tokenSecret
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user