mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-12-24 12:27:57 +08:00
10 lines
237 B
Go
10 lines
237 B
Go
package secret
|
|
|
|
import (
|
|
"golang.org/x/oauth2"
|
|
)
|
|
|
|
// OAuth2Token stores an OAuth2 token in an encrypted state in memory, so that
|
|
// you don't accidentally leak these secrets via logging or whatever.
|
|
type OAuth2Token = Any[oauth2.Token]
|