mirror of
https://github.com/zitadel/zitadel.git
synced 2025-04-21 19:51:33 +00:00
61 lines
1.2 KiB
Go
61 lines
1.2 KiB
Go
![]() |
package saml
|
||
|
|
||
|
import (
|
||
|
"github.com/zitadel/saml/pkg/provider/models"
|
||
|
|
||
|
"github.com/zitadel/zitadel/internal/command"
|
||
|
)
|
||
|
|
||
|
var _ models.AuthRequestInt = &AuthRequestV2{}
|
||
|
|
||
|
type AuthRequestV2 struct {
|
||
|
*command.CurrentSAMLRequest
|
||
|
}
|
||
|
|
||
|
func (a *AuthRequestV2) GetApplicationID() string {
|
||
|
return a.ApplicationID
|
||
|
}
|
||
|
|
||
|
func (a *AuthRequestV2) GetID() string {
|
||
|
return a.ID
|
||
|
}
|
||
|
func (a *AuthRequestV2) GetRelayState() string {
|
||
|
return a.RelayState
|
||
|
}
|
||
|
func (a *AuthRequestV2) GetAccessConsumerServiceURL() string {
|
||
|
return a.ACSURL
|
||
|
}
|
||
|
|
||
|
func (a *AuthRequestV2) GetNameID() string {
|
||
|
return a.UserID
|
||
|
}
|
||
|
|
||
|
func (a *AuthRequestV2) GetAuthRequestID() string {
|
||
|
return a.RequestID
|
||
|
}
|
||
|
func (a *AuthRequestV2) GetBindingType() string {
|
||
|
return a.Binding
|
||
|
}
|
||
|
func (a *AuthRequestV2) GetIssuer() string {
|
||
|
return a.Issuer
|
||
|
}
|
||
|
func (a *AuthRequestV2) GetIssuerName() string {
|
||
|
return a.IssuerName
|
||
|
}
|
||
|
func (a *AuthRequestV2) GetDestination() string {
|
||
|
return a.Destination
|
||
|
}
|
||
|
func (a *AuthRequestV2) GetCode() string {
|
||
|
return ""
|
||
|
}
|
||
|
func (a *AuthRequestV2) GetUserID() string {
|
||
|
return a.UserID
|
||
|
}
|
||
|
func (a *AuthRequestV2) GetUserName() string {
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (a *AuthRequestV2) Done() bool {
|
||
|
return a.UserID != "" && a.SessionID != ""
|
||
|
}
|