@groovy.transform.CompileStatic @Deprecated class AuthenticationSupportedRepository extends Object
Base class for creating repository types that optionally support authentication.
| Constructor and description |
|---|
protected AuthenticationSupportedRepository
(Project project)Base class constructor |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
authentication(Action<? super AuthenticationContainer> action) |
|
void |
content(Action action)This is currently a NOOP. |
|
void |
credentials(Action<? super PasswordCredentials> action) |
<T extends Credentials> |
void |
credentials(Class<T> aClass, Action<? super T> action) |
|
void |
credentials(Class<? extends Credentials> aClass) |
|
AuthenticationContainer |
getAuthentication() |
|
PasswordCredentials |
getCredentials() |
<T extends Credentials> |
T |
getCredentials(Class<T> aClass) |
|
boolean |
hasCredentials()Check is any credentials has been accessed. |
Repository name
Base class constructor
project - Project this will be associated with.Check is any credentials has been accessed.
true is any credentials has been accessedGroovy Documentation