Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrudPayToken ¶
type CrudPayToken struct { AccessToken string RefreshToken string AccessUuid string RefreshUuid string AccessTokenExpires int64 RefreshTokenExpires int64 }
func NewCrudPayToken ¶
func NewCrudPayToken() *CrudPayToken
func (*CrudPayToken) RefreshTokenIsExpired ¶
func (token *CrudPayToken) RefreshTokenIsExpired() bool
func (*CrudPayToken) TokenIsExpired ¶
func (token *CrudPayToken) TokenIsExpired() bool
type Repository ¶
type Repository interface { CreateToken(string) (*CrudPayToken, *response.BaseResponse) Get(string) (*string, *response.BaseResponse) Update(string) (*CrudPayToken, *response.BaseResponse) }
Click to show internal directories.
Click to hide internal directories.