NewAppWithToken creates an application with a token and returns the app.
(id uint, token string)
| 93 | |
| 94 | // NewAppWithToken creates an application with a token and returns the app. |
| 95 | func (ab *AppClientBuilder) NewAppWithToken(id uint, token string) *model.Application { |
| 96 | return ab.newAppWithToken(id, token, false) |
| 97 | } |
| 98 | |
| 99 | // NewInternalAppWithToken creates an internal application with a token and returns the app. |
| 100 | func (ab *AppClientBuilder) NewInternalAppWithToken(id uint, token string) *model.Application { |