WifToken: Token for use with workload identity federation

WifTokenR Documentation

Token for use with workload identity federation

Description

Token for use with workload identity federation

Token for use with workload identity federation

Details

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

Super classes

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

Methods

Public methods

Inherited methods

Method 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.


Method init_credentials()

Enact the actual token exchange for workload identity federation.

Usage
WifToken$init_credentials()

Method refresh()

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

Usage
WifToken$refresh()

Method format()

Format a WifToken().

Usage
WifToken$format(...)
Arguments
...

Not used.


Method print()

Print a WifToken().

Usage
WifToken$print(...)
Arguments
...

Not used.


Method can_refresh()

Placeholder implementation of required method. Returns TRUE.

Usage
WifToken$can_refresh()

Method cache()

Placeholder implementation of required method. Returns self.

Usage
WifToken$cache()

Method load_from_cache()

Placeholder implementation of required method. Returns self.

Usage
WifToken$load_from_cache()

Method validate()

Placeholder implementation of required method.

Usage
WifToken$validate()

Method revoke()

Placeholder implementation of required method.

Usage
WifToken$revoke()

Method clone()

The objects of this class are cloneable with this method.

Usage
WifToken$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


gargle documentation built on July 26, 2023, 5:29 p.m.