github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/internal/credentials/credentials.go (about) 1 package credentials 2 3 import ( 4 "context" 5 ) 6 7 // Credentials is an interface of YDB credentials required for connect with YDB 8 type Credentials interface { 9 // Token must return actual token or error 10 Token(ctx context.Context) (string, error) 11 }