Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceID = "secret"
ServiceID represents a system process service id
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FirebaseAuthRequest ¶ added in v0.71.0
type FirebaseAuthResponse ¶ added in v0.71.0
type RevealRequest ¶
type RevealRequest struct { *scy.Resource Target string ServiceSecret *scy.Resource // contains filtered or unexported fields }
func NewRevealRequestFromURL ¶
func NewRevealRequestFromURL(URL string) (*RevealRequest, error)
NewRevealRequestFromURL creates a request from URL
func (*RevealRequest) Init ¶
func (r *RevealRequest) Init() error
func (*RevealRequest) Validate ¶
func (r *RevealRequest) Validate() error
type RevealResponse ¶
type SecureRequest ¶
type SecureRequest struct { Target string Source []byte SourceURL string *scy.Resource // contains filtered or unexported fields }
func NewSecureRequestFromURL ¶
func NewSecureRequestFromURL(URL string) (*SecureRequest, error)
NewSecureRequestFromURL creates a request from URL
func (*SecureRequest) Init ¶
func (r *SecureRequest) Init() error
func (*SecureRequest) Validate ¶
func (r *SecureRequest) Validate() error
type SecureResponse ¶
type SecureResponse struct{}
type SignJWTRequest ¶
type SignJWTRequest struct { PrivateKey *scy.Resource HMAC *scy.Resource ExpiryInSec int ClaimsURL string UseClaimsMap bool ClaimsMap map[string]interface{} Claims *jwt.Claims }
func NewSignJWTRequest ¶
func NewSignJWTRequest(URL string) (*SignJWTRequest, error)
NewSignJWTRequest creates a request from URL
func (*SignJWTRequest) Init ¶
func (r *SignJWTRequest) Init() error
func (*SignJWTRequest) Validate ¶
func (r *SignJWTRequest) Validate() error
type SignJWTResponse ¶
type SignJWTResponse struct {
TokenString string
}
type VerifyJWTRequest ¶
type VerifyJWTRequest struct { PublicKey *scy.Resource HMAC *scy.Resource CertURL string Token string }
func (*VerifyJWTRequest) Init ¶
func (r *VerifyJWTRequest) Init() error
func (*VerifyJWTRequest) Validate ¶
func (r *VerifyJWTRequest) Validate() error
type VerifyJWTResponse ¶
func NewVerifyJWTResponse ¶
func NewVerifyJWTResponse(URL string) (*VerifyJWTResponse, error)
NewVerifyJWTResponse creates a request from URL
Click to show internal directories.
Click to hide internal directories.