auth: rename auth.Namespace to auth.Issuer (#1710)

This commit is contained in:
ben-toogood
2020-06-17 12:26:27 +01:00
committed by GitHub
parent 2efb459c66
commit 9d3365c4be
6 changed files with 31 additions and 31 deletions

View File

@@ -56,7 +56,7 @@ func (j *jwt) Generate(id string, opts ...auth.GenerateOption) (*auth.Account, e
Type: options.Type,
Scopes: options.Scopes,
Metadata: options.Metadata,
Issuer: j.Options().Namespace,
Issuer: j.Options().Issuer,
}
// generate a JWT secret which can be provided to the Token() method