Google Apps Script API
    Preparing search index...

    An error that can be returned to trigger an authorization card to be shown to the user.

    CardService.newAuthorizationException()
      .setAuthorizationUrl("http://auth.com/")
      .setResourceDisplayName("Example Resource")
      .throwException();
    
    interface AuthorizationException {
        printJson(): string;
        setAuthorizationUrl(authUrl: string): AuthorizationException;
        setCustomUiCallback(callback: string): AuthorizationException;
        setResourceDisplayName(name: string): AuthorizationException;
        throwException(): void;
    }
    Index

    Methods