Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decrypt ¶
Decrypt - Decrypt a token based on an encryption key The approach used here is based on the following direction on how to AES encrypt/decrypt our secret information, in this case tokens (normal, refresh and OAuth tokens). Source: https://github.com/giorgisio/examples/blob/master/aes-encrypt/main.go
func Encrypt ¶
Encrypt - Encrypt a token based on an encryption key The approach used here is based on the following direction on how to AES encrypt/decrypt our secret information, in this case tokens (normal, refresh and OAuth tokens). Source: https://github.com/giorgisio/examples/blob/master/aes-encrypt/main.go
func EncryptToken ¶
EncryptToken - Encrypt a token being
func ReadEncryptionKey ¶
ReadEncryptionKey - Read the encryption key from the shared volume
Types ¶
This section is empty.