19 lines
306 B
Go
19 lines
306 B
Go
|
package domain
|
||
|
|
||
|
const (
|
||
|
DefaultCurrency = "NTD"
|
||
|
DefaultLanguage = "zh-tw"
|
||
|
DefaultGrantType = "client_credentials"
|
||
|
DefaultScope = "gateway"
|
||
|
)
|
||
|
|
||
|
type GrantType string
|
||
|
|
||
|
func (g GrantType) ToString() string {
|
||
|
return string(g)
|
||
|
}
|
||
|
|
||
|
const (
|
||
|
GrantTypeClientCredentials GrantType = "client_credentials"
|
||
|
)
|