type the CredentialKind values

Michael Muré and Amine created

Co-Authored-By: Amine <hilalyamine@gmail.com>

Change summary

bridge/core/auth/credential.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

bridge/core/auth/credential.go 🔗

@@ -22,8 +22,8 @@ const (
 type CredentialKind string
 
 const (
-	KindToken         = "token"
-	KindLoginPassword = "login-password"
+	KindToken         CredentialKind = "token"
+	KindLoginPassword CredentialKind = "login-password"
 )
 
 var ErrCredentialNotExist = errors.New("credential doesn't exist")