Skip to contents

Not intended for direct use. See credentials_external_account() instead.

Super classes

httr::Token -> httr::Token2.0 -> WifToken

Methods

Inherited methods


WifToken$new()

Get a token via workload identity federation

Usage

WifToken$new(params = list())

Arguments

params

A list of parameters for init_oauth_external_account().

Returns

A WifToken.


WifToken$init_credentials()

Enact the actual token exchange for workload identity federation.

Usage

WifToken$init_credentials()


WifToken$refresh()

Refreshes the token, which means re-doing the entire token flow in this case.

Usage

WifToken$refresh()


WifToken$format()

Format a WifToken().

Usage

WifToken$format(...)

Arguments

...

Not used.


WifToken$print()

Print a WifToken().

Usage

WifToken$print(...)

Arguments

...

Not used.


WifToken$can_refresh()

Placeholder implementation of required method. Returns TRUE.

Usage

WifToken$can_refresh()


WifToken$cache()

Placeholder implementation of required method. Returns self.

Usage

WifToken$cache()


WifToken$load_from_cache()

Placeholder implementation of required method. Returns self.

Usage

WifToken$load_from_cache()


WifToken$validate()

Placeholder implementation of required method.

Usage

WifToken$validate()


WifToken$revoke()

Placeholder implementation of required method.

Usage

WifToken$revoke()


WifToken$clone()

The objects of this class are cloneable with this method.

Usage

WifToken$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.