Versions in this module Expand all Collapse all v14 v14.3.1 Jul 18, 2019 Changes in this version + type AWSS3CredentialsResponse struct + Credentials TemporarySecurityCredentials + Expires tcclient.Time + type Auth tcclient.Client + func New(credentials *tcclient.Credentials, rootURL string) *Auth + func NewFromEnv() *Auth + func (auth *Auth) AuthenticateHawk(payload *HawkSignatureAuthenticationRequest) (*HawkSignatureAuthenticationResponse, error) + func (auth *Auth) AwsS3Credentials(level, bucket, prefix, format string) (*AWSS3CredentialsResponse, error) + func (auth *Auth) AwsS3Credentials_SignedURL(level, bucket, prefix, format string, duration time.Duration) (*url.URL, error) + func (auth *Auth) AzureAccounts() (*AzureListAccountResponse, error) + func (auth *Auth) AzureAccounts_SignedURL(duration time.Duration) (*url.URL, error) + func (auth *Auth) AzureContainerSAS(account, container, level string) (*AzureBlobSharedAccessSignature, error) + func (auth *Auth) AzureContainerSAS_SignedURL(account, container, level string, duration time.Duration) (*url.URL, error) + func (auth *Auth) AzureContainers(account, continuationToken string) (*AzureListContainersResponse, error) + func (auth *Auth) AzureContainers_SignedURL(account, continuationToken string, duration time.Duration) (*url.URL, error) + func (auth *Auth) AzureTableSAS(account, table, level string) (*AzureTableSharedAccessSignature, error) + func (auth *Auth) AzureTableSAS_SignedURL(account, table, level string, duration time.Duration) (*url.URL, error) + func (auth *Auth) AzureTables(account, continuationToken string) (*AzureListTableResponse, error) + func (auth *Auth) AzureTables_SignedURL(account, continuationToken string, duration time.Duration) (*url.URL, error) + func (auth *Auth) Client(clientId string) (*GetClientResponse, error) + func (auth *Auth) CreateClient(clientId string, payload *CreateClientRequest) (*CreateClientResponse, error) + func (auth *Auth) CreateRole(roleId string, payload *CreateRoleRequest) (*GetRoleResponse, error) + func (auth *Auth) CurrentScopes() (*SetOfScopes, error) + func (auth *Auth) DeleteClient(clientId string) error + func (auth *Auth) DeleteRole(roleId string) error + func (auth *Auth) DisableClient(clientId string) (*GetClientResponse, error) + func (auth *Auth) EnableClient(clientId string) (*GetClientResponse, error) + func (auth *Auth) ExpandScopes(payload *SetOfScopes) (*SetOfScopes, error) + func (auth *Auth) ExpandScopesGet(payload *SetOfScopes) (*SetOfScopes, error) + func (auth *Auth) GcpCredentials(projectId, serviceAccount string) (*GCPCredentialsResponse, error) + func (auth *Auth) GcpCredentials_SignedURL(projectId, serviceAccount string, duration time.Duration) (*url.URL, error) + func (auth *Auth) ListClients(continuationToken, limit, prefix string) (*ListClientResponse, error) + func (auth *Auth) ListRoleIds(continuationToken, limit string) (*GetRoleIdsResponse, error) + func (auth *Auth) ListRoles() (*GetAllRolesNoPagination, error) + func (auth *Auth) ListRoles2(continuationToken, limit string) (*GetAllRolesResponse, error) + func (auth *Auth) Ping() error + func (auth *Auth) ResetAccessToken(clientId string) (*CreateClientResponse, error) + func (auth *Auth) Role(roleId string) (*GetRoleResponse, error) + func (auth *Auth) SentryDSN(project string) (*SentryDSNResponse, error) + func (auth *Auth) SentryDSN_SignedURL(project string, duration time.Duration) (*url.URL, error) + func (auth *Auth) StatsumToken(project string) (*StatsumTokenResponse, error) + func (auth *Auth) StatsumToken_SignedURL(project string, duration time.Duration) (*url.URL, error) + func (auth *Auth) TestAuthenticate(payload *TestAuthenticateRequest) (*TestAuthenticateResponse, error) + func (auth *Auth) TestAuthenticateGet() (*TestAuthenticateResponse, error) + func (auth *Auth) UpdateClient(clientId string, payload *CreateClientRequest) (*GetClientResponse, error) + func (auth *Auth) UpdateRole(roleId string, payload *CreateRoleRequest) (*GetRoleResponse, error) + func (auth *Auth) WebsocktunnelToken(wstAudience, wstClient string) (*WebsocktunnelTokenResponse, error) + func (auth *Auth) WebsocktunnelToken_SignedURL(wstAudience, wstClient string, duration time.Duration) (*url.URL, error) + type AuthenticationFailedResponse struct + Message string + Status string + type AuthenticationSuccessfulResponse struct + ClientID string + Expires tcclient.Time + Hash json.RawMessage + Scheme string + Scopes []string + Status string + type AzureBlobSharedAccessSignature struct + Expiry tcclient.Time + Sas string + type AzureListAccountResponse struct + Accounts []string + type AzureListContainersResponse struct + Containers []string + ContinuationToken string + type AzureListTableResponse struct + ContinuationToken string + Tables []string + type AzureTableSharedAccessSignature struct + Expiry tcclient.Time + Sas string + type CreateClientRequest struct + DeleteOnExpiration bool + Description string + Expires tcclient.Time + Scopes []string + type CreateClientResponse struct + AccessToken string + ClientID string + Created tcclient.Time + DeleteOnExpiration bool + Description string + Disabled bool + ExpandedScopes []string + Expires tcclient.Time + LastDateUsed tcclient.Time + LastModified tcclient.Time + LastRotated tcclient.Time + Scopes []string + type CreateRoleRequest struct + Description string + Scopes []string + type Dsn struct + Public string + Secret string + type GCPCredentialsResponse struct + AccessToken string + ExpireTime tcclient.Time + type GetAllRolesNoPagination []GetRoleResponse + type GetAllRolesResponse struct + ContinuationToken string + Roles []GetRoleResponse + type GetClientResponse struct + ClientID string + Created tcclient.Time + DeleteOnExpiration bool + Description string + Disabled bool + ExpandedScopes []string + Expires tcclient.Time + LastDateUsed tcclient.Time + LastModified tcclient.Time + LastRotated tcclient.Time + Scopes []string + type GetRoleIdsResponse struct + ContinuationToken string + RoleIds []string + type GetRoleResponse struct + Created tcclient.Time + Description string + ExpandedScopes []string + LastModified tcclient.Time + RoleID string + Scopes []string + type HawkSignatureAuthenticationRequest struct + Authorization string + Host string + Method string + Port int64 + Resource string + SourceIP string + type HawkSignatureAuthenticationResponse json.RawMessage + func (this *HawkSignatureAuthenticationResponse) MarshalJSON() ([]byte, error) + func (this *HawkSignatureAuthenticationResponse) UnmarshalJSON(data []byte) error + type ListClientResponse struct + Clients []GetClientResponse + ContinuationToken string + type SentryDSNResponse struct + Dsn Dsn + Expires tcclient.Time + Project string + type SetOfScopes struct + Scopes []string + type SourceIP string + type SourceIP1 string + type StatsumTokenResponse struct + BaseURL string + Expires tcclient.Time + Project string + Token string + type TemporarySecurityCredentials struct + AccessKeyID string + SecretAccessKey string + SessionToken string + type TestAuthenticateRequest struct + ClientScopes []string + RequiredScopes []string + type TestAuthenticateResponse struct + ClientID string + Scopes []string + type WebsocktunnelTokenResponse struct + Expires tcclient.Time + Token string + WstAudience string + WstClient string Other modules containing this package github.com/taskcluster/taskcluster/clients/client-go/v15 github.com/taskcluster/taskcluster/clients/client-go/v16 github.com/taskcluster/taskcluster/clients/client-go/v17 github.com/taskcluster/taskcluster/clients/client-go/v18 github.com/taskcluster/taskcluster/clients/client-go/v19 github.com/taskcluster/taskcluster/clients/client-go/v20 github.com/taskcluster/taskcluster/clients/client-go/v21 github.com/taskcluster/taskcluster/clients/client-go/v22 github.com/taskcluster/taskcluster/clients/client-go/v23 github.com/taskcluster/taskcluster/clients/client-go/v24 github.com/taskcluster/taskcluster/v25 github.com/taskcluster/taskcluster/v26 github.com/taskcluster/taskcluster/v27 github.com/taskcluster/taskcluster/v28 github.com/taskcluster/taskcluster/v29 github.com/taskcluster/taskcluster/v30 github.com/taskcluster/taskcluster/v31 github.com/taskcluster/taskcluster/v32 github.com/taskcluster/taskcluster/v33 github.com/taskcluster/taskcluster/v34 github.com/taskcluster/taskcluster/v35 github.com/taskcluster/taskcluster/v36 github.com/taskcluster/taskcluster/v37 github.com/taskcluster/taskcluster/v38 github.com/taskcluster/taskcluster/v39 github.com/taskcluster/taskcluster/v40 github.com/taskcluster/taskcluster/v41 github.com/taskcluster/taskcluster/v42 github.com/taskcluster/taskcluster/v43 github.com/taskcluster/taskcluster/v44 github.com/taskcluster/taskcluster/v45 github.com/taskcluster/taskcluster/v46 github.com/taskcluster/taskcluster/v47 github.com/taskcluster/taskcluster/v48 github.com/taskcluster/taskcluster/v49 github.com/taskcluster/taskcluster/v50 github.com/taskcluster/taskcluster/v51 github.com/taskcluster/taskcluster/v52 github.com/taskcluster/taskcluster/v53 github.com/taskcluster/taskcluster/v54 github.com/taskcluster/taskcluster/v55 github.com/taskcluster/taskcluster/v56 github.com/taskcluster/taskcluster/v57 github.com/taskcluster/taskcluster/v58 github.com/taskcluster/taskcluster/v59 github.com/taskcluster/taskcluster/v60 github.com/taskcluster/taskcluster/v61 github.com/taskcluster/taskcluster/v62 github.com/taskcluster/taskcluster/v63 github.com/taskcluster/taskcluster/v64