Documentation ¶
Index ¶
- func NewService(scopeCfgProvider ClientDetailsConfigProvider, publicAccessTokenEndpoint string, ...) *service
- type ApplicationService
- type ClientDetails
- type ClientDetailsConfigProvider
- type Config
- type IntegrationSystemService
- type OryHydraService
- type Resolver
- func (r *Resolver) RequestClientCredentialsForApplication(ctx context.Context, id string) (graphql.SystemAuth, error)
- func (r *Resolver) RequestClientCredentialsForIntegrationSystem(ctx context.Context, id string) (graphql.SystemAuth, error)
- func (r *Resolver) RequestClientCredentialsForRuntime(ctx context.Context, id string) (graphql.SystemAuth, error)
- type RuntimeService
- type Service
- type SystemAuthConverter
- type SystemAuthService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(scopeCfgProvider ClientDetailsConfigProvider, publicAccessTokenEndpoint string, hydraService OryHydraService) *service
NewService missing godoc
Types ¶
type ApplicationService ¶
ApplicationService missing godoc
type ClientDetails ¶
ClientDetails missing godoc
type ClientDetailsConfigProvider ¶
type ClientDetailsConfigProvider interface { GetRequiredScopes(path string) ([]string, error) GetRequiredGrantTypes(path string) ([]string, error) }
ClientDetailsConfigProvider missing godoc
type Config ¶
type Config struct { URL string `envconfig:"APP_OAUTH20_URL"` PublicAccessTokenEndpoint string `envconfig:"APP_OAUTH20_PUBLIC_ACCESS_TOKEN_ENDPOINT"` HTTPClientTimeout time.Duration `envconfig:"default=105s,APP_OAUTH20_HTTP_CLIENT_TIMEOUT"` }
Config missing godoc
type IntegrationSystemService ¶
IntegrationSystemService missing godoc
type OryHydraService ¶
type OryHydraService interface { ListOAuth2Clients(ctx context.Context) hydraClient.OAuth2ApiListOAuth2ClientsRequest ListOAuth2ClientsExecute(r hydraClient.OAuth2ApiListOAuth2ClientsRequest) ([]hydraClient.OAuth2Client, *http.Response, error) DeleteOAuth2Client(ctx context.Context, id string) hydraClient.OAuth2ApiDeleteOAuth2ClientRequest DeleteOAuth2ClientExecute(r hydraClient.OAuth2ApiDeleteOAuth2ClientRequest) (*http.Response, error) CreateOAuth2Client(ctx context.Context) hydraClient.OAuth2ApiCreateOAuth2ClientRequest CreateOAuth2ClientExecute(r hydraClient.OAuth2ApiCreateOAuth2ClientRequest) (*hydraClient.OAuth2Client, *http.Response, error) SetOAuth2Client(ctx context.Context, id string) hydraClient.OAuth2ApiSetOAuth2ClientRequest SetOAuth2ClientExecute(r hydraClient.OAuth2ApiSetOAuth2ClientRequest) (*hydraClient.OAuth2Client, *http.Response, error) }
OryHydraService missing godoc
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver missing godoc
func NewResolver ¶
func NewResolver(transactioner persistence.Transactioner, svc Service, appSvc ApplicationService, rtmSvc RuntimeService, isSvc IntegrationSystemService, systemAuthSvc SystemAuthService, systemAuthConv SystemAuthConverter) *Resolver
NewResolver missing godoc
func (*Resolver) RequestClientCredentialsForApplication ¶
func (r *Resolver) RequestClientCredentialsForApplication(ctx context.Context, id string) (graphql.SystemAuth, error)
RequestClientCredentialsForApplication missing godoc
func (*Resolver) RequestClientCredentialsForIntegrationSystem ¶
func (r *Resolver) RequestClientCredentialsForIntegrationSystem(ctx context.Context, id string) (graphql.SystemAuth, error)
RequestClientCredentialsForIntegrationSystem missing godoc
func (*Resolver) RequestClientCredentialsForRuntime ¶
func (r *Resolver) RequestClientCredentialsForRuntime(ctx context.Context, id string) (graphql.SystemAuth, error)
RequestClientCredentialsForRuntime missing godoc
type RuntimeService ¶
RuntimeService missing godoc
type Service ¶
type Service interface { CreateClientCredentials(ctx context.Context, objectType pkgmodel.SystemAuthReferenceObjectType) (*model.OAuthCredentialDataInput, error) DeleteClientCredentials(ctx context.Context, clientID string) error }
Service missing godoc
type SystemAuthConverter ¶
type SystemAuthConverter interface {
ToGraphQL(model *pkgmodel.SystemAuth) (graphql.SystemAuth, error)
}
SystemAuthConverter missing godoc
type SystemAuthService ¶
type SystemAuthService interface { CreateWithCustomID(ctx context.Context, id string, objectType pkgmodel.SystemAuthReferenceObjectType, objectID string, authInput *model.AuthInput) (string, error) GetByIDForObject(ctx context.Context, objectType pkgmodel.SystemAuthReferenceObjectType, authID string) (*pkgmodel.SystemAuth, error) }
SystemAuthService missing godoc
Click to show internal directories.
Click to hide internal directories.